1
0
mirror of synced 2024-11-15 03:27:40 +01:00
ImHex/plugins/builtin/source/content
WerWolv c051f5d3e7
patterns: Rewrite evaluation engine (#306)
* patterns: Rewrite most of the evaluator to mainly use polymorphism instead of just RTTI

* patterns: Fixed a couple of AST memory leaks

* patterns: Parse string operations correctly

* patterns: Various fixes and cleanup

* patterns: Implement primitive function definitions

Function parameters now need to provide their type in the definition

* patterns: Added function variable definition and assignment

* patterns: Added remaining function statements

* patterns: Added unsized and while-sized arrays

* patterns: Added multi variable declarations to functions

* patterns: Added std::format built-in function

* patterns: Allow passing custom types to functions

* patterns: Added attributes and new "format" attribute

* patterns: Use libfmt for std::print instead of custom version

* patterns: Remove unnecessary string compare function

* pattern: Fix preprocessor directives

* patterns: Fix unit tests

* patterns: Added cast expression

* patterns: Handle endianess in function parameters

* patterns: Added casting to different endian

* patterns: Added 'str' type for functions
2021-09-21 21:29:18 +02:00
..
command_palette_commands.cpp sys: Tons of long overdue cleanup 2021-09-08 15:18:24 +02:00
data_inspector.cpp sys: Allow multiple files to be loaded simultaneously 2021-09-21 02:29:54 +02:00
data_processor_nodes.cpp sys: Allow multiple files to be loaded simultaneously 2021-09-21 02:29:54 +02:00
pl_builtin_functions.cpp patterns: Rewrite evaluation engine (#306) 2021-09-21 21:29:18 +02:00
settings_entries.cpp ui: Moved hex editor settings to settings menu 2021-09-20 23:40:36 +02:00
tools_entries.cpp sys: Allow multiple files to be loaded simultaneously 2021-09-21 02:29:54 +02:00
ui_items.cpp ui: Make footer items jump around less 2021-09-21 03:10:09 +02:00