gencpp/test
Ed_ 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
..
gen Parsing constructors work, finally reached parity. 2023-07-15 23:07:30 -04:00
Parsed Minor refactor, added optional recursive dups for ast, ... 2023-07-16 03:19:59 -04:00
Upfront Minor refactor, added optional recursive dups for ast, ... 2023-07-16 03:19:59 -04:00
DummyInclude.hpp Removed incremental API, fixes for operator__validation, added formatting pass on generated files 2023-06-29 22:48:47 -04:00
meson.build Updated readme, added def_body and AST::validate_body 2023-07-12 15:59:47 -04:00
Readme.md More dependency movement from zpl, incremental design improvements. 2023-07-12 01:33:11 -04:00
SOA.hpp Minor refactor, added optional recursive dups for ast, ... 2023-07-16 03:19:59 -04:00
test.cpp Minor refactor, added optional recursive dups for ast, ... 2023-07-16 03:19:59 -04:00
test.Upfront.cpp Minor refactor, added optional recursive dups for ast, ... 2023-07-16 03:19:59 -04:00

Test

The following tests focus on attempting to generate some math, containers, and the memory module of zpl.

Not all the files are written how I would practically use the librarry, the containers for example would be better on in c++ as templates, since the templates they generate are trivial symbols to inspect or debug.

An exmaple of a non-trival generation is a container for elements with SOA or AOS policy for layout. (If a unified element syntax is desired)

The test is divided between two major sets of tests: Parsed and Upfront.