1001 Commits (master)
 

Author SHA1 Message Date
  Rafal Kupiec 0a6b5a6f42
The 'self' and 'parent' keywords should be resolved at compile time. 1 year ago
  Rafal Kupiec 7b6245572f
Remove constants management builtin functions. 1 year ago
  Rafal Kupiec 9d84c558c4
New test for goto statement. 1 year ago
  Rafal Kupiec c4b63a3018
Rename OP_LOAD instruction to OP_LOADV. 1 year ago
  Rafal Kupiec 23900f2aed
Remove unused compiler function - PH7_CompileLangConstruct(). 1 year ago
  Rafal Kupiec b36510943d
Implement 'define' statement for defining constants globally. 1 year ago
  Rafal Kupiec ab8bf48485
Make constant declarations local. 1 year ago
  Rafal Kupiec 90b2da7c56
Unify constant length. 1 year ago
  Rafal Kupiec e6b7f1be2c
Always emit OP_JMPLFE as goto can be used inside a loop and frame has to be left. 1 year ago
  Rafal Kupiec 03fc167be1
Proper implementation of so hated 'goto' statement. 1 year ago
  Rafal Kupiec 2f3ce65289
Correct comment to if/else statements. 1 year ago
  Rafal Kupiec 73c1a814f5
Test foreach() loop. 1 year ago
  Rafal Kupiec 8f681d1605
Correct PH7_OP_JMPLFE debug name. 1 year ago
  Rafal Kupiec 5a0e4667fa
More readable error message. 1 year ago
  Rafal Kupiec 508e8965a9
VmExtractMemObj() should not be able to create a variable. 1 year ago
  Rafal Kupiec 7d606cbf1d
Do not create variables automatically on each OP_CALL using VmExtractMemObj(). 1 year ago
  Rafal Kupiec 3dfa4232ba
Use VmCreateMemObj() to create $this. 1 year ago
  Rafal Kupiec 7c37451520
Namespaces are not supported and broken, but compile them properly. 1 year ago
  Rafal Kupiec 1829eff323
Fix interface and class compilation. 1 year ago
  Rafal Kupiec 798fd7d3b2
Remove unused and useless VM instruction. 1 year ago
  Rafal Kupiec 70676cb0d5
Correct comment. 1 year ago
  Rafal Kupiec d76441ad4c
Safely store only compatible values. 1 year ago
  Rafal Kupiec 186e5887f6
We can now declare key and value variables inside a loop. 1 year ago
  Rafal Kupiec bbcd99789d
Fix test. 1 year ago
  Rafal Kupiec 1d6822c1e2
Allow key and value declaration inside foreach() loop. 1 year ago
  Rafal Kupiec a726ab795a
Throw an error if $key or $value does not exist. 1 year ago
  Rafal Kupiec 5c1e0f0cce
Simplify the foreach() loop implementation. 1 year ago
  Rafal Kupiec 4d8d92092e
Refactor foreach() loop. 1 year ago
  Rafal Kupiec 1156519af6
This is a compiler task to fill key and value variables names. 1 year ago
  Rafal Kupiec 62c315da9e
Call to undefined constant should lead to an error. 1 year ago
  Rafal Kupiec 10516fb655
Remove useless comments from BrainFuck tests. 1 year ago
  Rafal Kupiec f09d4def2d
It's AerScript. 1 year ago
  Rafal Kupiec d6fca929ea
Callbacks can be just called. 1 year ago
  Rafal Kupiec 6593252bce
Remove get_defined_functions() built-in function. 1 year ago
  Rafal Kupiec d26bc99b68
There is no reason to trigger a low-level error in AerScript. 1 year ago
  Rafal Kupiec 00c502c11b
Get rid of import_request_variables() builtin function. Its pure evil. 1 year ago
  Rafal Kupiec 9f4f6298c2
Do not create variable in foreach() loop automatically. 1 year ago
  Rafal Kupiec 2bda002259
Add missing variables declaration. 1 year ago
  Rafal Kupiec eef5ee370d
Remove this useless wrapper function. 1 year ago
  Rafal Kupiec 8ab3919688
Class names should be case sensitive. 1 year ago
  Rafal Kupiec 58015f2a20
Correct typo. 1 year ago
  Rafal Kupiec d72774f0f4
Namespaces in AerScript do not support aliases. 1 year ago
  Rafal Kupiec 407fb09e8f
Throw an error only if this is not the end of tokens stream. 1 year ago
  Rafal Kupiec a7606864fa
Do not use broken foreach() loop in this test. 1 year ago
  Rafal Kupiec cb455c3c73
Unify compiler OOM error messages. 1 year ago
  Rafal Kupiec 1c5982e764
There is no reason to use a loop here. 1 year ago
  Rafal Kupiec 3be46532dd
Remove unused PH7_ErrorRecover() function. 1 year ago
  Rafal Kupiec c443a38fec
Do not count compilation errors. 1 year ago
  Rafal Kupiec 48a38dc1af
PH7_GenCompileError() always breaks script execution on E_ERROR. 1 year ago
  Rafal Kupiec 7c8259057b
PH7_VmThrowError() always breaks script execution on PH7_CTX_ERR. 1 year ago