11 Commits (4bbdc20174d27d6bfe5d6167e2d48148c49822cd)

Author SHA1 Message Date
Rafal Kupiec 4bbdc20174
This commit contains several changes: 3 years ago
Rafal Kupiec e0b939d9a2
In general it is a bad idea to compare memory. We should compare strings and check its length. Fixes #34. 3 years ago
Rafal Kupiec 2c37807370
Get rid of global keyword, fixes #29 3 years ago
Rafal Kupiec 7b3e6c5b76
P# introduces virtual classes and virtual methods 3 years ago
Rafal Kupiec b7792dfc3d
P# is not going to derive namespace syntax from PHP, but from C++. 3 years ago
Rafal Kupiec 5cb19f63a5
Get rid of alternative syntax for control structures (endif, endwhile, endfor, endforeach). Only curly brackets are allowed. 3 years ago
Rafal Kupiec 159cd76020
No need to duplicate exit() 3 years ago
Rafal Kupiec 3f1397ed93
Get rid of switch: endswitch construct 3 years ago
Rafal Kupiec ef2ea60a60
Treat whole file as P# source code. Fixes #24. 3 years ago
Rafal Kupiec d3ff86f692
Correct some typos 3 years ago
Rafal Kupiec abb91a9874
Reorganize the repository for new build system 3 years ago
Rafal Kupiec 6abb65a04c
declare() is a stupid and useless construct. It will not be supported in P#. 3 years ago
Rafal Kupiec 4eb2e76498
Borrowed from Bash, but unnecessary 3 years ago
Rafal Kupiec caedd1a9f8
Only bool, float, int. They dont need synonyms. 3 years ago
Rafal Kupiec 8b59a01198
There is no need to use 'and' & 'or' keywords, as P# supports also '&&' and '||' to use respectively 3 years ago
Rafal Kupiec 4071f0b8ee
P# supports only ^^ keyword as a logical XOR. There is no need to have 'xor'. 3 years ago
Rafal Kupiec d898cd1e36
Code formatting 3 years ago
Rafal Kupiec 03bfd2203c
Reorganisation 3 years ago
Rafal Kupiec 5ad57f6740
Implement logical XOR operator (^^) 3 years ago
Rafal Kupiec f212588ab1
Removing unnecessary operators (eq, ne). Some special strings comparison should be implemented as a function like strcmp(). 3 years ago
Rafal Kupiec dce1b38e79
P# allows to use multiline string block, thus heredoc/newdoc syntax is not needed 3 years ago
Rafal Kupiec c7feffc43f
GOTO is an evil statement and should be avoid. Its not available in P# 3 years ago
Rafal Kupiec dff0a5c968
Replace automatically generated code with a more friendly equivalent 3 years ago
Rafal Kupiec 520e2280e4 No amalgamation 3 years ago
Rafal Kupiec 5b10ea3b41 de-amalgamation of code for easier maintenance 3 years ago