mirror of
https://github.com/Ed94/gencpp.git
synced 2024-11-10 02:54:53 -08:00
Ed_
1f77e39694
- 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. |
||
---|---|---|
.. | ||
gen | ||
Parsed | ||
Upfront | ||
DummyInclude.hpp | ||
meson.build | ||
Readme.md | ||
SOA.hpp | ||
test.cpp | ||
test.Upfront.cpp |
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.