Releases: Kagamma/evil-script
Releases · Kagamma/evil-script
2024-10-02
- Nested functions and/or outside functions can access caller's
self
. - Optimize memory allocations.
- DisAsm function.
- General bugfixes
2024-09-12
- Adds support for changing calling conventions for x86 arch.
- Adds support for fs_Xxx and json_Xxx functions.
- Adds a new type, "pasobject", allows the script engine to handle pascal objects (can be managed by the garbage collector).
- More optimizations related to garbage collector.
- General bugfixes.
2023-12-09
- Added support for libffi. This allows evil script to interface and call functions from dynamic libraries in archs other than x64.
Note that it is disabled by default. EnableSE_COMPUTED_GOTO
symbol if you want to use libffi. - Added a lot of built-in functions to handle buffers.
- Allowed to execute one single function, by either calling
TScriptEngine.ExecFuncOnly()
(execute function only, without running any main code) orTScriptEngine.ExecFunc()
(execute main code first, then execute function). - chr() and ord() to convert between char and byte.
2023-10-16
yield
accepted expressions, which can be used to return values.- Supported
assert
. - Optimizations can be enabled / disabled via
OptimizeXxx
flags. - Fixed a few GC-related bugs.
- Improved runtime error message.
- Added new base64_Xxx built-in functions.
2023-09-26
- Allowed to use
return
to return function result. - New built-in array_to_map(), allows to convert a valid array to map.
- Minor fixes
2023-06-15
- f32 data type
- bitwise shift left/right operators
2023-06-13
- Bug fixes
- Supports
try-catch
2023-05-25
86c1ec3 Backport from satania-buddy
Last version that use reference counting
rc Update ScriptEngine.pas