734 Commits (291b6f06070a5570992a03c3c6332297e69f98bb)
 

Author SHA1 Message Date
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 929d7b83fe
Cleanup unused functions. 3 years ago
Rafal Kupiec 0b04e0f7c5
Test program entry point. 3 years ago
Rafal Kupiec 407bcf5a29
Fix segmentation fault on Program::__construct() call. 3 years ago
Rafal Kupiec f8a47d2838
Real life test - base32. 3 years ago
Rafal Kupiec 2aa25f66d5
They do not return any value. 3 years ago
Rafal Kupiec 58618a4d27
Add another test - constructor overloading. 3 years ago
Rafal Kupiec 9a82298451
Do not check parameters passed to constructor. 3 years ago
Rafal Kupiec 0268a95169
No longer necessary. 3 years ago
Rafal Kupiec 227e1d2be5 Merge 'typehinting' branch into 'master'. 3 years ago
Rafal Kupiec bd22425b46
Do not allow 'continue' statement in a switch case. 3 years ago
Rafal Kupiec 9d97eb228a
Test a for() loop as well. 3 years ago
Rafal Kupiec b668d0a897
Test do { ... } while(); loop. 3 years ago
Rafal Kupiec 102e8447a1
Formatting code. 3 years ago
Rafal Kupiec 5f57ba54a4
Left operand must be modifiable when storing some value. 3 years ago
Rafal Kupiec ec580ddf8c
Path splitting test. 3 years ago
Rafal Kupiec 395f6c446c
Get rid of known from PHP 'elseif' construction. 3 years ago
Rafal Kupiec 549b2ff3b4
Do not use 'elseif' construction. 3 years ago
Rafal Kupiec e5d7977995
Fixed by implementation of OP_JMPLFB & OP_JMPLFE VM instructions. 3 years ago
Piotr Likoski 6b18e204cd
Always pop the l-value on variable declaration. 3 years ago
Rafal Kupiec a5da714d61
Test while loop. 3 years ago
Rafal Kupiec 88d382b76b
Add missing VM OP descriptions. 3 years ago
Rafal Kupiec 2894c55dfa
Add some comments, to see if they are working. 3 years ago
Rafal Kupiec 0b11d59f9f
Remove this dirty hack. 3 years ago
Rafal Kupiec 07e3a09999
Enter and leave a loop frame on every iteration. 3 years ago
Rafal Kupiec ba8e9080ef
Implement OP_JMPLFB & OP_JMPLFE VM instructions. 3 years ago
Rafal Kupiec ef4f994e8b
Do not allow 'break' statement to take a parameter. This is strange construction introduced in PHP. 3 years ago
Rafal Kupiec 5fddbf8737
Do not allow 'continue' statement to take a parameter. This is strange construction introduced in PHP. 3 years ago
Rafal Kupiec 89f19133d5
Rename VM's jump instructions for better readability. 3 years ago
Rafal Kupiec eb80dced3e
Correct comment. 3 years ago
Rafal Kupiec f9b518138e
Cleanup OP_LOAD instruction. 3 years ago
Rafal Kupiec 517dffcbc1
Separate VM instruction for variable declaration (OP_DECLARE). 3 years ago
Rafal Kupiec 1b248a17e7
Query the top active as well as all loop frames. 3 years ago
Rafal Kupiec 661158d249
Simply throw memory error. 3 years ago
Rafal Kupiec 94e06f3d3a
Do not duplicate the code; make a use of VmCreateMemObj(). 3 years ago
Rafal Kupiec 9e06322b57
Implement VmCreateMemObj(). 3 years ago
Rafal Kupiec 0f0fc01a96
We need to distinguish the loop frames. 3 years ago
Rafal Kupiec c51b3dfa8a
Revert 89d5158d7e and a8a1a2cd51. Fix should be based on VM frames. 3 years ago
Rafal Kupiec 583f43e1f7
Convert carriage return and line feed to line feed (UNIX line ending). 3 years ago
Rafal Kupiec aea0d1a5ec
Workaround applied to make test working. 3 years ago
Rafal Kupiec e3ad3eb84b
Another bug found that needs to be fixed before merge to master branch. 3 years ago
Rafal Kupiec 98898c16c5
Builtin library will be reworked later. Out of scope. 3 years ago
Rafal Kupiec 89d5158d7e
Fix build. 3 years ago
Rafal Kupiec b302e8c2b2
Test static variables. 3 years ago
Rafal Kupiec a8a1a2cd51
Fix variable declaration in loops. 3 years ago
Rafal Kupiec ee0d189f0a
Add comments. 3 years ago
Rafal Kupiec cdc0dade2a
Allow to store a character in string variable. 3 years ago
Rafal Kupiec aae526b1d4
Closure as filter. 3 years ago
Rafal Kupiec 5cc803d07c
Another closure test comes in. 3 years ago