34 Commits (d0995a42393c351eae9f415922fadac05b6d591e)

Author SHA1 Message Date
Rafal Kupiec d0995a4239
Rename 'instanceof' to 'is'. 2 years ago
Rafal Kupiec f2116a6461
Always use HTTPS when possible. 2 years ago
Rafal Kupiec deda6b4b15
PH7_GenCompileError() always breaks script execution on E_ERROR. 3 years ago
Rafal Kupiec c9203b6c91
New source code legal format. 3 years ago
Rafal Kupiec 5f57ba54a4
Left operand must be modifiable when storing some value. 3 years ago
Rafal Kupiec 4eaf6a7117
AerScript is strict type hinting language, thus OP_TEQ & OP_TNE are not needed here. 3 years ago
Rafal Kupiec 3f205c19ce
Get rid of dirty references. Return a reference & pass-by reference are still working. 3 years ago
Rafal Kupiec 66b55e35a9
Enable reference operator. 3 years ago
Rafal Kupiec 9a41f7195d
AerScript does not implement any error control operator. 3 years ago
Rafal Kupiec 65b178932a
Get rid of array() & list() for the new syntax. 3 years ago
Rafal Kupiec 412a70c0c6
Allow the array to be defined inside curly braces, instead of using array() keyword. 3 years ago
Rafal Kupiec 8aacf7c70e
Do not use PH7_KEYWORD_FUNCTION for closure declaration. 3 years ago
Rafal Kupiec 0524092539
Add missing space in error message 3 years ago
Rafal Kupiec fa0b487cc0
Implement typecasting to resource data type. 3 years ago
Rafal Kupiec 2949c8dcfb
Fix typo. 3 years ago
Rafal Kupiec 0278f0a630
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 8724cebf71
Do not actually support references in the same scope. 3 years ago
Rafal Kupiec 9884f8288b
Do not allow typecasting to unset a variable. 3 years ago
Rafal Kupiec a8a88b4746
Compile closures. 3 years ago
Rafal Kupiec f28c671e69
Compile closures. 3 years ago
Rafal Kupiec 2c28b63d90
Properly interpret language constructs, fixes #28. 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 7c7a837efb
Correct another bunch of typos. 3 years ago
Rafal Kupiec 59c15caf4e
Use something more human readable 3 years ago
Rafal Kupiec b61fc9d3e6
Rename function to save it from typo 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 b7792dfc3d
P# is not going to derive namespace syntax from PHP, but from C++. 3 years ago
Rafal Kupiec 48b2e9d1c6
Update comments 3 years ago
Rafal Kupiec eb088cd0d7
Correcting another typos in code 3 years ago
Rafal Kupiec abb91a9874
Reorganize the repository for new build system 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 25264bd774
extension in PH7, but standard in P# 3 years ago
Rafal Kupiec 0ad681ccf6
There is no fixed rule and XOR has different position in programming languages, but it has surely not higher precedence than AND and not lower than OR 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 520e2280e4 No amalgamation 3 years ago
Rafal Kupiec 5b10ea3b41 de-amalgamation of code for easier maintenance 3 years ago