618 Commits (v0.1.0)

Author SHA1 Message Date
  Rafal Kupiec d6fca929ea
Callbacks can be just called. 2 years ago
  Rafal Kupiec 6593252bce
Remove get_defined_functions() built-in function. 2 years ago
  Rafal Kupiec d26bc99b68
There is no reason to trigger a low-level error in AerScript. 2 years ago
  Rafal Kupiec 00c502c11b
Get rid of import_request_variables() builtin function. Its pure evil. 2 years ago
  Rafal Kupiec 9f4f6298c2
Do not create variable in foreach() loop automatically. 2 years ago
  Rafal Kupiec eef5ee370d
Remove this useless wrapper function. 2 years ago
  Rafal Kupiec 8ab3919688
Class names should be case sensitive. 2 years ago
  Rafal Kupiec 58015f2a20
Correct typo. 2 years ago
  Rafal Kupiec d72774f0f4
Namespaces in AerScript do not support aliases. 2 years ago
  Rafal Kupiec 407fb09e8f
Throw an error only if this is not the end of tokens stream. 2 years ago
  Rafal Kupiec cb455c3c73
Unify compiler OOM error messages. 2 years ago
  Rafal Kupiec 1c5982e764
There is no reason to use a loop here. 2 years ago
  Rafal Kupiec 3be46532dd
Remove unused PH7_ErrorRecover() function. 2 years ago
  Rafal Kupiec c443a38fec
Do not count compilation errors. 2 years ago
  Rafal Kupiec 48a38dc1af
PH7_GenCompileError() always breaks script execution on E_ERROR. 2 years ago
  Rafal Kupiec 7c8259057b
PH7_VmThrowError() always breaks script execution on PH7_CTX_ERR. 2 years ago
  Rafal Kupiec 9b1ad67580
PH7_VmThrowError() always breaks script execution on PH7_CTX_ERR. 2 years ago
  Rafal Kupiec deda6b4b15
PH7_GenCompileError() always breaks script execution on E_ERROR. 2 years ago
  Rafal Kupiec 5b0b965199
Fix segmentation fault when trying to clone non-instantiated object. 2 years ago
  Rafal Kupiec 555234e381
Get rid of variable variables. AerScript does not support it. 2 years ago
  Rafal Kupiec 8f18ebf884
Update legal info. 2 years ago
  Rafal Kupiec c9203b6c91
New source code legal format. 2 years ago
  Rafal Kupiec ed8f3f341e
Remove array_same() builtin function. 2 years ago
  Rafal Kupiec 18e77b9754
array_copy() is no longer needed. 2 years ago
  Rafal Kupiec d819820798
Always make an array copy. Fixes #48. 2 years ago
  Rafal Kupiec e794ffd97b
Fix PH7_HashmapDup(). 2 years ago
  Rafal Kupiec a0405f2267
Always perform type validation when inserting value to an array. 2 years ago
  Rafal Kupiec 291b6f0607
Get rid of backstick quoted strings (shell commands). 2 years ago
  Rafal Kupiec 0e8a2372dd
Cleanup lexer from no longer used operators. 2 years ago
  Rafal Kupiec 929d7b83fe
Cleanup unused functions. 2 years ago
  Rafal Kupiec 407bcf5a29
Fix segmentation fault on Program::__construct() call. 2 years ago
  Rafal Kupiec 9a82298451
Do not check parameters passed to constructor. 2 years ago
  Rafal Kupiec bd22425b46
Do not allow 'continue' statement in a switch case. 2 years ago
  Rafal Kupiec 5f57ba54a4
Left operand must be modifiable when storing some value. 2 years ago
  Rafal Kupiec 395f6c446c
Get rid of known from PHP 'elseif' construction. 2 years ago
  Piotr Likoski 6b18e204cd
Always pop the l-value on variable declaration. 2 years ago
  Rafal Kupiec 88d382b76b
Add missing VM OP descriptions. 2 years ago
  Rafal Kupiec 07e3a09999
Enter and leave a loop frame on every iteration. 2 years ago
  Rafal Kupiec ba8e9080ef
Implement OP_JMPLFB & OP_JMPLFE VM instructions. 2 years ago
  Rafal Kupiec ef4f994e8b
Do not allow 'break' statement to take a parameter. This is strange construction introduced in PHP. 2 years ago
  Rafal Kupiec 5fddbf8737
Do not allow 'continue' statement to take a parameter. This is strange construction introduced in PHP. 2 years ago
  Rafal Kupiec 89f19133d5
Rename VM's jump instructions for better readability. 2 years ago
  Rafal Kupiec eb80dced3e
Correct comment. 2 years ago
  Rafal Kupiec f9b518138e
Cleanup OP_LOAD instruction. 2 years ago
  Rafal Kupiec 517dffcbc1
Separate VM instruction for variable declaration (OP_DECLARE). 2 years ago
  Rafal Kupiec 1b248a17e7
Query the top active as well as all loop frames. 2 years ago
  Rafal Kupiec 661158d249
Simply throw memory error. 2 years ago
  Rafal Kupiec 94e06f3d3a
Do not duplicate the code; make a use of VmCreateMemObj(). 2 years ago
  Rafal Kupiec 9e06322b57
Implement VmCreateMemObj(). 2 years ago
  Rafal Kupiec c51b3dfa8a
Revert 89d5158d7e and a8a1a2cd51. Fix should be based on VM frames. 2 years ago