21 Commits (4bbdc20174d27d6bfe5d6167e2d48148c49822cd)

Author SHA1 Message Date
Rafal Kupiec 4bbdc20174
This commit contains several changes: 3 years ago
Rafal Kupiec 2c37807370
Get rid of global keyword, fixes #29 3 years ago
Rafal Kupiec aa5a20f283
There is nothing like GOTO statement in P# 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 72f2cc2c1b
Remove useless fields, free some memory. 3 years ago
Rafal Kupiec caf9126f0b
Several changes: 3 years ago
Rafal Kupiec 9e885b3196
Generally speaking ... this is working. 3 years ago
Rafal Kupiec b040886b97
Test and temporary version of compiler emiting PH7_OP_CLASS_INIT instruction. 3 years ago
Rafal Kupiec 0e6e6773bb
This field is useless now 3 years ago
Rafal Kupiec e2aa774a6a
Reimplement SyRealPath(); fix build. 3 years ago
Rafal Kupiec 52d9616503
Revert d937d0c825 3 years ago
David Carlier dba8e5098f fixing in the vm context instead, making the feature available in case realpath could be implemented as well 3 years ago
David Carlier e7b78be8e5 Fix #15, merge from fix_debug_backtrace branch (#18) 3 years ago
David Carlier 357be5ec0d Attempt to fix #3 (#14) 3 years ago
Rafal Kupiec b7caeefded
Move math library into separate module 3 years ago
Rafal Kupiec abb91a9874
Reorganize the repository for new build system 3 years ago
Rafal Kupiec c6ad27566a
Correct some typos 3 years ago
Rafal Kupiec a00e81f4f8
Move XML support into separate module. 3 years ago
Rafal Kupiec 95e9174058
Move JSON support into separate module. 3 years ago
Rafal Kupiec 28dbeeb1ad
I'm not a big Windows fun, so please correct me if this is not working 3 years ago
Rafal Kupiec ee5504ea3a
Initial support for modules, partially implements #1 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 4f4371545b
Implement register_autoload_handler() builtin function, that registers any number of autoloaders, enabling for classes to be automatically loaded if they are not defined. 3 years ago
Rafal Kupiec 5d1e75d72c
There will be no PDO. P# will contain DBAL 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 fb9e0726d8
No amalgamation here 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 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 331e21cb12 GCC does not like large constants without a suffix 3 years ago
Rafal Kupiec 5b10ea3b41 de-amalgamation of code for easier maintenance 3 years ago