a6bf60a51e
Simpilication of build script, added initial support for tests
2023-08-20 12:31:28 -04:00
b5fa864318
Fixes and improvements to serialization.
...
There were multiple issues with comment and newline lexing.
Extended printing functions to support Strings with %S flag (captial 'S').
Allows for length detection. Also made it so that precision for strings is the string length.
2023-08-08 22:14:58 -04:00
67d02c1f62
Fix for wrong tokens for GNU/MSVC attribute captures (parse_attributes)
...
Also a fix for a typo in the readme...
2023-08-08 15:35:06 -04:00
c4d5637a64
Fixes to single header generation (bad parsing adt/csv injection in wrong place)
2023-08-07 14:52:26 -04:00
34f286d218
Library can now construct into AST and serialization itself (singleheader).
...
Still need to validate if they match.
2023-08-04 16:12:13 -04:00
2b63fc27cd
Progress toward preprocessor parsing, lexing works, parsing does not.
2023-07-30 18:55:57 -04:00
b5cad6e8a1
some cleanup of unused macros in test files, preparing bootstrap and single header code + scripts
2023-07-24 18:51:49 -04:00
4d2f6a6315
Refactor Test gen_time to GEN_TIME
2023-07-19 00:13:12 -04:00
e501941c5c
Fix for sanity test...
2023-07-17 23:40:28 -04:00
7634aeb34c
Fixes to memory mangment, library is much faster now.
2023-07-16 18:00:07 -04:00
1f77e39694
Minor refactor, added optional recursive dups for ast, ...
...
- Added support for anonymous structs.
- Gave Token_Fmt::token_map its own static memory.
- Minor natvis fix for CodeBody
- Renamed ESpecifier::Static_Member to just Static (acts as a general use case) specifier option
- Setup the lex token array with a configurable arena allocator.
Two major things left before V0.3-4:
- Attribute and Module parisng support with base case test
- AST serializtaion strings get a dedicated slag allocator.
2023-07-16 03:19:59 -04:00
805e69bb40
Parsing constructors work, finally reached parity.
2023-07-15 23:07:30 -04:00
4e61fefc55
Updated readme, added def_body and AST::validate_body
...
Fixed meson first setup error with missing thirdparty dir (removed it since its no longer used)
Improved SOA test to use newly added funtions.
2023-07-12 15:59:47 -04:00
6ae23e4da0
Got rid of the bloat.hpp/cpp, code was moved into gen.hpp/cpp
2023-07-12 02:37:51 -04:00
7828e6d2ea
More dependency movement from zpl, incremental design improvements.
...
Made token_fmt more ergonomic, going to have to use a similar behavior with the upfront body constructors.
2023-07-12 01:33:11 -04:00
b360cf3024
Setup testing and library for getting the parse api done.
2023-07-08 14:11:41 -04:00
4db9aadea7
HashTable non-parsed implemented.
...
Improved the text to string macros!
2023-07-01 00:23:40 -04:00
ef790fdda5
Began to work on the non-parsed ring implementation
2023-06-30 15:11:49 -04:00
fc8239ad8d
Non parsed buffer implemented.
2023-06-30 13:56:31 -04:00
352da126ca
Nativs support for gen::AST, fixes & update to library, getting gen_array working...
...
token_fmt returns StrC now. Did some fixes so it can properly function now!
Lots of changes to the Array non-parsed implementation.
It shows no errors in the edtitor static analysis, however I haven't tried it yet.
Unfortunately have some friction with how I would like to set it up like with everything in C++...
Can't inherit from ArrayBase to provide the common members to all Array defs, without introducing constructor complexity.
I may be open to using constructors in the future, depends on how I feel when trying out the context pattern used in jai and odin...
2023-06-30 03:13:41 -04:00
44ab1c2fc3
More fixes while completing sanity check for enums
...
Typepunning failed, didn't know about the difference between C/C++ with strict aliasing in this specific case...
2023-06-28 21:20:29 -04:00
0192cd49ef
Started sanity test suite (Non-parsed api)
...
Made some fixes based on errors found while iterating on first generation
2023-06-28 14:43:21 -04:00
d00de42969
Started to fix some runtime bugs.
2023-05-08 20:54:24 -04:00
38a60e4b91
Somehow overlooked unions... More stuff on parser constructors
2023-04-23 22:53:30 -04:00
09491be375
Finished to_string initial impl
2023-04-23 00:43:31 -04:00
6ca30828c0
Upfront constructors almost completely fleshed out.
2023-04-10 21:33:06 -04:00
dfa01221d4
added execution code type, gutted functions with only char const* for name + more
2023-04-10 00:38:47 -04:00
f3b5e90ddc
Gutting test code, going to be just doing it proeprly when the library upfornt api is done.
2023-04-09 14:51:37 -04:00
2e8d4a3d93
WIP: Still reworking based on design changes.
2023-04-04 15:53:29 -04:00
9957ef0e7d
Major changes to library design, change test to reflect it.
2023-04-03 03:55:28 -04:00
b4b518f005
WIP: Array generation test. Still need gen.cpp impl.
2023-04-02 17:39:21 -04:00
340f466f24
Test now runs generated code, swtiched math test to use polyorphism from cpp.
...
Now need to make that array test...
2023-04-02 12:25:08 -04:00
d66c1e4eb4
test.cpp gen_time compiles (has memory issues though)
2023-04-02 01:07:44 -04:00
f09fe6aa15
Iniital commit
2023-04-01 22:21:46 -04:00