154 Commits (b1b78433dd5755e36e307cbc2cfa2e5e6a2ba926)

Author SHA1 Message Date
Rafal Kupiec b1b78433dd
Clean up $base statement. 3 years ago
Rafal Kupiec e654e42b07
Store class directly in function container. 3 years ago
Rafal Kupiec ddd46a4e80
Quick small cleanup. 3 years ago
Rafal Kupiec 3cca5faa76
Store variable type in dedicated field. 3 years ago
Rafal Kupiec 0f4a666b89
Variable type should be separated from control flags. 3 years ago
Rafal Kupiec 1acbd21caf
Store a pointer to class container in each method. 3 years ago
Rafal Kupiec e8c675bd8e
Store a pointer to class container to reduce memory usage. 3 years ago
Rafal Kupiec 7203492763
Store a class name in each attribute. 3 years ago
Rafal Kupiec 8aed5af238
Correct indentation. 3 years ago
Rafal Kupiec f2116a6461
Always use HTTPS when possible. 3 years ago
Rafal Kupiec 07bd3ceec3
Reimplement 'parent' construct as variable $parent. 3 years ago
Rafal Kupiec 0c8ca53f70
Continuous numeration. 3 years ago
Rafal Kupiec c4b63a3018
Rename OP_LOAD instruction to OP_LOADV. 3 years ago
Rafal Kupiec 23900f2aed
Remove unused compiler function - PH7_CompileLangConstruct(). 3 years ago
Rafal Kupiec b36510943d
Implement 'define' statement for defining constants globally. 3 years ago
Rafal Kupiec ab8bf48485
Make constant declarations local. 3 years ago
Rafal Kupiec 90b2da7c56
Unify constant length. 3 years ago
Rafal Kupiec 03fc167be1
Proper implementation of so hated 'goto' statement. 3 years ago
Rafal Kupiec 798fd7d3b2
Remove unused and useless VM instruction. 3 years ago
Rafal Kupiec 70676cb0d5
Correct comment. 3 years ago
Rafal Kupiec 5c1e0f0cce
Simplify the foreach() loop implementation. 3 years ago
Rafal Kupiec 4d8d92092e
Refactor foreach() loop. 3 years ago
Rafal Kupiec 3be46532dd
Remove unused PH7_ErrorRecover() function. 3 years ago
Rafal Kupiec c443a38fec
Do not count compilation errors. 3 years ago
Rafal Kupiec 291b6f0607
Get rid of backstick quoted strings (shell commands). 3 years ago
Rafal Kupiec 395f6c446c
Get rid of known from PHP 'elseif' construction. 3 years ago
Rafal Kupiec ba8e9080ef
Implement OP_JMPLFB & OP_JMPLFE VM instructions. 3 years ago
Rafal Kupiec 89f19133d5
Rename VM's jump instructions for better readability. 3 years ago
Rafal Kupiec 517dffcbc1
Separate VM instruction for variable declaration (OP_DECLARE). 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 a8a1a2cd51
Fix variable declaration in loops. 3 years ago
Rafal Kupiec 4eaf6a7117
AerScript is strict type hinting language, thus OP_TEQ & OP_TNE are not needed here. 3 years ago
Rafal Kupiec d8f9db8f9a
Proper implementation of is_callback() & is_callable(). First one only performs a check if variable type is callback, while the second checks if function exists and if can be called. 3 years ago
Rafal Kupiec aaef03396c
Implement PH7_MemObjSafeStore(). 3 years ago
Rafal Kupiec 3f205c19ce
Get rid of dirty references. Return a reference & pass-by reference are still working. 3 years ago
Rafal Kupiec 140bd35f93
Set proper type for all class attributes. 3 years ago
Rafal Kupiec 14f958a4b2
Implement PH7_HashmapCast(). 3 years ago
Rafal Kupiec 243faf4373
Header cleanup. 3 years ago
Rafal Kupiec accde59f9e
Cleanup header. 3 years ago
Rafal Kupiec fa295b9437
It's callback, not callable. 3 years ago
Rafal Kupiec a87471e1e3
The empty() function is useless in Aer. 3 years ago
Rafal Kupiec 4f29507c0d
The isset() function always results in true, thus it is useless. If passed as argument variable is not set, the interpreter will throw an error. 3 years ago
Rafal Kupiec 135e7c9698
VAR & FUNCTION are no longer valid keywords. 3 years ago
Rafal Kupiec 59e2743a60
Simply release the object, no need to use a wrapper function. 3 years ago
Rafal Kupiec 98a5fc1af0
No such operator. 3 years ago
Rafal Kupiec 154469f475
Variable cannot be typecasted to NULL. 3 years ago
Rafal Kupiec 9a41f7195d
AerScript does not implement any error control operator. 3 years ago
Rafal Kupiec 65b178932a
Get rid of array() & list() for the new syntax. 3 years ago
Rafal Kupiec 7b1ed59f41
Basic check if all methods declared in interface are also defined in class. 3 years ago