92 Commits (4f29507c0da4f1a621fedcb8bec07bbf7d667821)

Author SHA1 Message Date
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. 4 years ago
Rafal Kupiec 9ab896c2e2
Implement PH7_CheckVarCompat(). 4 years ago
Rafal Kupiec d65a529d21
Initial support for char data type. 4 years ago
Rafal Kupiec 174ecb2a38
Initial support for void type. 4 years ago
Rafal Kupiec f927667d85
Strictly check for data type of static variable declaration. 4 years ago
Rafal Kupiec 241c7d8168
First step to declare a variable with specified data type. 4 years ago
Rafal Kupiec 9884f8288b
Do not allow typecasting to unset a variable. 4 years ago
Rafal Kupiec 58103ea5fe
Mark method/closure call frame as active. 4 years ago
Rafal Kupiec faca9b7fb2
Another fix in debug trace. 4 years ago
Rafal Kupiec 8b48786f29
Add missing data types. 4 years ago
Rafal Kupiec 1e5538fc67
Remove useless fields in pVm. 4 years ago
Rafal Kupiec 82e5dc1565
Add SyStrtok() declaration. 4 years ago
Rafal Kupiec eb79ed500e
Store float values in an union. 4 years ago
Rafal Kupiec af1d59dab4
Don't try to get an integer representation of float. 4 years ago
Rafal Kupiec 0a9cfce672
Group and add missing keywords. 4 years ago
Rafal Kupiec 3887aa69a6
Never disable hash functions. 4 years ago
Rafal Kupiec c3a4c8de77
Never disable builtin functions. 4 years ago
Rafal Kupiec 6387026e15
Do not limit the output buffering callbacks. 4 years ago
Rafal Kupiec 11ba0ce738
No need to store output length in VM. 4 years ago
Rafal Kupiec 404f5a2688
No need to store unique ID in VM. 4 years ago
Rafal Kupiec ae79cb57de
No need to store information about line number in ph7_class struct. 4 years ago
Rafal Kupiec 894dbe47d6
Allow compiler to specify line number, on which instruction has been generated. 4 years ago
Rafal Kupiec 765d2cf3eb
Another VM state. 4 years ago
Rafal Kupiec c00c91599f
Enable unused API functions. 4 years ago
Rafal Kupiec d793d3ed70
Rename PH7_VmGenericError() to PH7_VmThrowError() 4 years ago
Rafal Kupiec dc0a55c8c0
Cleanup old error handler. 4 years ago
Rafal Kupiec fd4206a227
Remove error_log() builtin function and corresponding PH7_VM_CONFIG_ERR_LOG_HANDLER. 4 years ago
Rafal Kupiec 109f4e981a
Aer does not support custom error handlers. 4 years ago
Rafal Kupiec 5895141ae1
Add missing declarations. 4 years ago
Rafal Kupiec a2acf64272
VmExtractDebugTrace() provides information about a kind of call. 4 years ago
Rafal Kupiec 8bfaa83b04
Correct typo. 4 years ago
Rafal Kupiec d9db6bbc26
There is no need for global working buffer in VM. 4 years ago
Rafal Kupiec 838842fa02
Add execution marker to each instruction. 4 years ago
Rafal Kupiec 461ee00034
Allow to use PH7_CTX_DEPRECATED. 4 years ago