26 Commits (e4ab5974fa36ea2d32d3713b07aea1620549c8db)

Author SHA1 Message Date
Rafal Kupiec e4ab5974fa
Let the compiler use OP_ADD instead of OP_CAT 3 years ago
Rafal Kupiec 4bbdc20174
This commit contains several changes: 3 years ago
Piotr Likoski bcde1f446d
It does not matter if it is empty string or not, we want to process it. Empty string should not ever been even considered as a NULL. Fixing #35. 3 years ago
Piotr Likoski a8259e7dbc
Empty double-quoted string can be served as single-quoted string. Preparing for further changes in scope of #35. 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 48b2e9d1c6
Update comments 3 years ago
Rafal Kupiec e300575ab1
P# does not support PHP tags, thus there is also no need to support shortcut for echo. 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 bdf053a205
Implement a fix also for interface. This commit also adds initial and partial support for multiple inheritance. 3 years ago
Rafal Kupiec db93fd8b25
Make a use of our internal allocator instead of malloc() 3 years ago
Rafal Kupiec caf9126f0b
Several changes: 3 years ago
Rafal Kupiec b040886b97
Test and temporary version of compiler emiting PH7_OP_CLASS_INIT instruction. 3 years ago
Rafal Kupiec 09451f4042
Two changes come here: 3 years ago
Rafal Kupiec 6628a1ea3d
This is probably what we would like to skip during compilation. 3 years ago
Rafal Kupiec abf9cf61b8
More typos to correct 3 years ago
Rafal Kupiec 6f64412108
Typo? Typo. Typo! 3 years ago
Rafal Kupiec ae2c1e2ae5
Fix for #6 3 years ago
Rafal Kupiec c0a8608dd7
Make reported errors more PHP-like 3 years ago
Rafal Kupiec f8beab654d
Cleanup after goto removal 3 years ago
Rafal Kupiec ceca007cd1 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 d898cd1e36
Code formatting 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 520e2280e4 No amalgamation 3 years ago
Rafal Kupiec 5b10ea3b41 de-amalgamation of code for easier maintenance 3 years ago