Commit Graph

15 Commits

Author SHA1 Message Date
Ed_
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
Ed_
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
Ed_
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
Ed_
d00de42969 Started to fix some runtime bugs. 2023-05-08 20:54:24 -04:00
Ed_
38a60e4b91 Somehow overlooked unions... More stuff on parser constructors 2023-04-23 22:53:30 -04:00
Ed_
09491be375 Finished to_string initial impl 2023-04-23 00:43:31 -04:00
Ed_
6ca30828c0 Upfront constructors almost completely fleshed out. 2023-04-10 21:33:06 -04:00
Ed_
dfa01221d4 added execution code type, gutted functions with only char const* for name + more 2023-04-10 00:38:47 -04:00
Ed_
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
Ed_
2e8d4a3d93 WIP: Still reworking based on design changes. 2023-04-04 15:53:29 -04:00
Ed_
9957ef0e7d Major changes to library design, change test to reflect it. 2023-04-03 03:55:28 -04:00
Ed_
b4b518f005 WIP: Array generation test. Still need gen.cpp impl. 2023-04-02 17:39:21 -04:00
Ed_
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
Ed_
d66c1e4eb4 test.cpp gen_time compiles (has memory issues though) 2023-04-02 01:07:44 -04:00
Ed_
f09fe6aa15 Iniital commit 2023-04-01 22:21:46 -04:00