1
0
mirror of synced 2024-11-14 19:17:42 +01:00
Commit Graph

42 Commits

Author SHA1 Message Date
WerWolv
ee7c6a91a7 patterns: Add optimization for arrays of statically sized types 2021-09-06 20:35:38 +02:00
WerWolv
f29febdc86 patterns: Fix unions causing crashes on cleanup 2021-09-03 10:30:40 +02:00
WerWolv
633fa7213a sys: More compile time improvements 2021-08-29 22:15:18 +02:00
WerWolv
f60f9f9fc9 patterns: Fix endian settings not applying to char16 2021-08-29 11:10:48 +02:00
WerWolv
b7003d499c patterns: Fix function parsing 2021-08-27 09:54:34 +02:00
WerWolv
c053d54d10 patterns: Add multi-variable declarations 2021-08-25 17:54:47 +02:00
WerWolv
f8ed89ee2c patterns: Allow bitfield fields to be accessed as like other members 2021-08-16 23:05:23 +02:00
WerWolv
bca7f738a1 patterns: Fixed local member access not working 2021-07-31 12:18:32 +02:00
WerWolv
1e1cdb0ef0 patterns: Fixed multiple parse and evaluate issues 2021-06-22 16:04:47 +02:00
WerWolv
fde5b39495 patterns: Added function while loops 2021-06-21 00:21:38 +02:00
WerWolv
c9fae32ddf patterns: Added function if statements, improved returns 2021-06-20 23:46:13 +02:00
WerWolv
7f0bdc95da patterns: Added support for declaring custom functions 2021-06-20 21:22:31 +02:00
WerWolv
b4b2c41b34 patterns: Added hidden attribute 2021-06-17 23:42:43 +02:00
WerWolv
21f8fb4090 patterns: Added while statement for array sizing 2021-06-17 23:13:58 +02:00
WerWolv
a7092ada08 fix: Parent keyword not working at all 2021-06-16 21:13:54 +02:00
WerWolv
4029c333ed patterns: Added UTF-16 character type and string parsing 2021-05-02 20:13:37 +02:00
WerWolv
ea71389982 fix: Invalid type in integer literal ast node on mac 2021-04-21 10:37:14 +02:00
WerWolv
32d47456de patterns: Added array index syntax to rvalues and turned addressof/sizeof into operators 2021-04-21 10:17:42 +02:00
WerWolv
5b692067d8 patterns/fix: Accessing variables in global scope no longer crashes 2021-04-18 20:26:23 +02:00
WerWolv
93e1c4c4e8 sys: Drastically revamp the relative vs absolute address mess 2021-04-16 21:50:15 +02:00
WerWolv
c3e41710c7 patterns: Properly apply base addresses to pointers 2021-04-16 10:11:10 +02:00
WerWolv
45b00c8b5f patterns: Make placements respect set base addresses and discard out of bounds variables 2021-04-13 21:50:24 +02:00
WerWolv
950598911c patterns: Allow usage of types within itself and used out-of-order 2021-04-13 20:40:21 +02:00
WerWolv
907f25c231 patterns: Added parent keyword to access members of the parent struct 2021-04-12 20:49:37 +02:00
WerWolv
2f19ff768d sys: Improved ScopeGuard syntax a lot 2021-03-31 22:54:43 +02:00
WerWolv
a2c80e3fd6 patterns: Fixed enum constant literals not being interpreted as correct type 2021-03-31 22:10:06 +02:00
WerWolv
f34b946ea9 patterns: Fixed eval_depth default and preprocessor errors 2021-03-15 08:11:19 +01:00
WerWolv
8423f78586 nodes/patterns: Fixed crashes when recursion occurred 2021-03-07 13:20:33 +01:00
WerWolv
188723e888 sys: Replace printf formatting with libfmt 2021-03-03 19:58:22 +01:00
WerWolv
8646fb4487 patterns: Prevent division by zero 2021-03-02 22:55:23 +01:00
WerWolv
93802f5872 patterns: Always interpret color attribute value as hexadecimal 2021-02-25 12:08:46 +01:00
WerWolv
a251c7325a Fixed copy-paste error in pattern language evaluator 2021-02-17 21:04:59 +01:00
WerWolv
51d9d37d1a Fixed pattern language being basically completely broken 2021-01-23 14:00:09 +01:00
WerWolv
104000fbc4 Huge refactoring of builtin features into an external plugin 2021-01-22 18:01:42 +01:00
WerWolv
b6e2bbc434 Added comments attribute 2021-01-21 20:55:10 +01:00
WerWolv
9a97c6c328 Use big endian rgb8 color for color attribute 2021-01-21 18:01:52 +01:00
WerWolv
ff566aa51f Added attributes syntax to pattern language
This comes with two experimental attributes for variables called `name` and `color`
2021-01-21 17:49:30 +01:00
WerWolv
22d75ed856 Improved logging and aborting from pattern language builtin functions 2021-01-21 11:36:58 +01:00
WerWolv
31426a289c Added modulus operator 2021-01-20 22:55:57 +01:00
WerWolv
78a87baa94 Added addressof, sizeof and nextAfter builtin functions.
Resolves #144
2021-01-20 22:54:46 +01:00
WerWolv
eb066b3539 Refactored libimhex to and includes to better represent it as library 2021-01-13 17:28:27 +01:00
WerWolv
c09a8bca7f Language refactoring, added builtin function registry 2021-01-11 23:54:12 +01:00