96 Commits (4dae0bcc9ec17fdc5d4c704d426696a525f11b13)

Author SHA1 Message Date
Rafal Kupiec 4dae0bcc9e
Always record last instruction. 4 years ago
Rafal Kupiec d9db6bbc26
There is no need for global working buffer in VM. 4 years ago
Rafal Kupiec 67ce98d924
Look for executed OP_CALL. 4 years ago
Rafal Kupiec 838842fa02
Add execution marker to each instruction. 4 years ago
Rafal Kupiec 3e2a5b3be2
Correct field length. 4 years ago
Rafal Kupiec 90a02d8fdd
Add operator ID to the debugging information. 4 years ago
Rafal Kupiec b6161b0e4b
Fix VM ByteCode debugging. 4 years ago
Rafal Kupiec 98d3de2105
Record all instructions in debugging set. 4 years ago
Rafal Kupiec 8f92782fe2
Fix segmentation fault. 4 years ago
Rafal Kupiec d97c0a6634
Fix VmExtractPeekDebugTrace(); 4 years ago
Rafal Kupiec 603672b8e2
PH7 disallows function calls from global scope. 4 years ago
Rafal Kupiec 37c960e313
Fix uninitialized value leading to segmentation fault. 4 years ago
Rafal Kupiec 349bbed774
Allow to enable or disable debugging. 4 years ago
Rafal Kupiec c8e2dccbeb
Assign Program::main() return value as program exit code. 4 years ago
Rafal Kupiec 6d27069590
Add new file for every chunk. 4 years ago
Rafal Kupiec c9a1971ace
Rewrite debug_backtrace() builtin function. 4 years ago
Rafal Kupiec ce621cc49c
Implement VmExtractPeekDebugTrace(); 4 years ago
Rafal Kupiec d0b0a416d0
Allow to dump last frame only. 4 years ago
Rafal Kupiec 8f7b28d46c
Formatting for VM dump. 4 years ago
Rafal Kupiec fb671ec2d7
Implement VmExtractDebugTrace(). 4 years ago
Rafal Kupiec 1403b144d9
Sequence numbers should start from 1. 4 years ago
Rafal Kupiec 782a4df1cf
Formatting, add information about file and line. 4 years ago
Rafal Kupiec b1f71167d9
Unify memory indicator. 4 years ago
Rafal Kupiec 3f7bac2d85
Associate a filename with VM instructions. 4 years ago
Rafal Kupiec f552c54992
Better formatting. 4 years ago
Rafal Kupiec a7bbd55d48
Temporarily enable debugging by default. 4 years ago
Rafal Kupiec 178f3820f6
Enable debugging. 4 years ago
Rafal Kupiec 98ee931a04
Correct instruction length. 4 years ago
Rafal Kupiec 4197737ddc
Move structure definitions to header. 4 years ago
Rafal Kupiec 82c18dc109
Do not pop out the processed files. 4 years ago
Rafal Kupiec 20c1611902
Implement PH7_VmExtractActiveClass(). 4 years ago
Rafal Kupiec 81325b5059
Correct typo. 4 years ago
Rafal Kupiec 2160747479
Make get_included_files() returning full path. 4 years ago
Rafal Kupiec cbb4a0aa5c
get_included_files() should return a list of included, files. 4 years ago
Rafal Kupiec 4b3279ef01
Correct function description. 4 years ago
Rafal Kupiec 4dbd3ea412
New memory subsystem. 4 years ago
Rafal Kupiec b5fe36c14b
There is no need for include_once() and require_once() 4 years ago
Rafal Kupiec 039fde099f
Compile Aer code or chunk of code. 4 years ago
Rafal Kupiec b94a23d580
Get rid of PH7 ident 4 years ago
Rafal Kupiec 7c7a837efb
Correct another bunch of typos. 4 years ago
Rafal Kupiec 71d46e3052
Compiler rework does not allow functions in global scope. 4 years ago
Rafal Kupiec da0b7eb629
Some useless function 4 years ago
Rafal Kupiec af139b3f0a
Reimplement C-like min() and max() functions. 4 years ago
Rafal Kupiec 8ab67084a0
It is as easy to instantiate the class as to remove this useless functions. 4 years ago
Rafal Kupiec 6f491b398a
Always show compilation errors 4 years ago
Rafal Kupiec 8e87989719
A;ways show compilation errors from evaluated code 4 years ago
Rafal Kupiec 052649e677
Trust builtin library. 4 years ago
Rafal Kupiec 0e64c7cc6e
Fix builtin library 4 years ago
Rafal Kupiec ece036b214
Rework the entry point 4 years ago
Rafal Kupiec 7e3c79d3c5
Functions naming cleanup 4 years ago