41 Commits (d0995a42393c351eae9f415922fadac05b6d591e)

Author SHA1 Message Date
Rafal Kupiec d0995a4239
Rename 'instanceof' to 'is'. 2 years ago
Rafal Kupiec d0840d7eea
Cleanup after switching from 'parent' constant to '$parent' variable. 2 years ago
Rafal Kupiec 625a386b69
Get rid of 'self' statement. 2 years ago
Rafal Kupiec f2116a6461
Always use HTTPS when possible. 2 years ago
Rafal Kupiec b36510943d
Implement 'define' statement for defining constants globally. 3 years ago
Rafal Kupiec 03fc167be1
Proper implementation of so hated 'goto' statement. 3 years ago
Rafal Kupiec 4d8d92092e
Refactor foreach() loop. 3 years ago
Rafal Kupiec c9203b6c91
New source code legal format. 3 years ago
Rafal Kupiec 291b6f0607
Get rid of backstick quoted strings (shell commands). 3 years ago
Rafal Kupiec 0e8a2372dd
Cleanup lexer from no longer used operators. 3 years ago
Rafal Kupiec 395f6c446c
Get rid of known from PHP 'elseif' construction. 3 years ago
Rafal Kupiec a87471e1e3
The empty() function is useless in Aer. 3 years ago
Rafal Kupiec 4f29507c0d
The isset() function always results in true, thus it is useless. If passed as argument variable is not set, the interpreter will throw an error. 3 years ago
Rafal Kupiec 135e7c9698
VAR & FUNCTION are no longer valid keywords. 3 years ago
Rafal Kupiec 65b178932a
Get rid of array() & list() for the new syntax. 3 years ago
Rafal Kupiec df3d00d02c
Revert f1d4d80f65. 3 years ago
Rafal Kupiec f1d4d80f65
Cleanup keywords. 3 years ago
Rafal Kupiec fa0b487cc0
Implement typecasting to resource data type. 3 years ago
Rafal Kupiec 784c705af6
Add callback cast operator. 3 years ago
Rafal Kupiec d65a529d21
Initial support for char data type. 3 years ago
Rafal Kupiec 174ecb2a38
Initial support for void type. 3 years ago
Rafal Kupiec 9884f8288b
Do not allow typecasting to unset a variable. 3 years ago
Rafal Kupiec 0a9cfce672
Group and add missing keywords. 3 years ago
Rafal Kupiec fbc725c935
We are tokenizing Aer. 3 years ago
Rafal Kupiec 9100bf0696
Treat 'import' as a special keyword. 3 years ago
Rafal Kupiec b5fe36c14b
There is no need for include_once() and require_once() 3 years ago
Rafal Kupiec 7e3c79d3c5
Functions naming cleanup 3 years ago
Rafal Kupiec d7f9d8e157
Add missing 'finally' keyword. 3 years ago
Rafal Kupiec 59c15caf4e
Use something more human readable 3 years ago
Rafal Kupiec a4e6962a67
Free dot operator for further usage 3 years ago
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