125 Commits (ddd46a4e80f468825379706d9eabaeb1ce15c609)

Author SHA1 Message Date
Rafal Kupiec ddd46a4e80
Quick small cleanup. 2 years ago
Rafal Kupiec 3cca5faa76
Store variable type in dedicated field. 2 years ago
Rafal Kupiec 0f4a666b89
Variable type should be separated from control flags. 2 years ago
Rafal Kupiec 1acbd21caf
Store a pointer to class container in each method. 2 years ago
Rafal Kupiec e8c675bd8e
Store a pointer to class container to reduce memory usage. 2 years ago
Rafal Kupiec 7203492763
Store a class name in each attribute. 2 years ago
Rafal Kupiec 8aed5af238
Correct indentation. 2 years ago
Rafal Kupiec f2116a6461
Always use HTTPS when possible. 2 years ago
Rafal Kupiec 07bd3ceec3
Reimplement 'parent' construct as variable $parent. 2 years ago
Rafal Kupiec 0c8ca53f70
Continuous numeration. 2 years ago
Rafal Kupiec c4b63a3018
Rename OP_LOAD instruction to OP_LOADV. 2 years ago
Rafal Kupiec 23900f2aed
Remove unused compiler function - PH7_CompileLangConstruct(). 2 years ago
Rafal Kupiec b36510943d
Implement 'define' statement for defining constants globally. 2 years ago
Rafal Kupiec ab8bf48485
Make constant declarations local. 2 years ago
Rafal Kupiec 90b2da7c56
Unify constant length. 2 years ago
Rafal Kupiec 03fc167be1
Proper implementation of so hated 'goto' statement. 2 years ago
Rafal Kupiec 798fd7d3b2
Remove unused and useless VM instruction. 2 years ago
Rafal Kupiec 70676cb0d5
Correct comment. 2 years ago
Rafal Kupiec 5c1e0f0cce
Simplify the foreach() loop implementation. 2 years ago
Rafal Kupiec 4d8d92092e
Refactor foreach() loop. 2 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 4eaf6a7117
AerScript is strict type hinting language, thus OP_TEQ & OP_TNE are not needed here. 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 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
Rafal Kupiec e498bc7646
It is enought to declare 'object'. 3 years ago
Rafal Kupiec a2749000d6
Do not store these information twice; save the memory. 3 years ago
Rafal Kupiec f71e60f641
Add fields to store information about method's return data type. 3 years ago
Rafal Kupiec df3d00d02c
Revert f1d4d80f65. 3 years ago
Rafal Kupiec 051bca470e
Save the closure return data type for further use. 3 years ago
Rafal Kupiec f1d4d80f65
Cleanup keywords. 3 years ago
Rafal Kupiec fa0b487cc0
Implement typecasting to resource data type. 3 years ago
Rafal Kupiec f97e2a8294
Implement typecasting to callback data type. 3 years ago
Rafal Kupiec 1c3211e00d
Add missing PH7_OP_CVT_CALL definition. 3 years ago