mirror of
https://github.com/Ed94/gencpp.git
synced 2024-12-21 23:34:44 -08:00
Ed_
5d7dfaf666
Isolating large macros to their own directory (components/temp). - Plan is to remove them soon with proper generation. Added additional component files, separating the old data_structures header for a set of ast headers. Header_end also had its inlines extracted out. Necessary to complete the macro isolation. ZPL parser dependencies were removed from the core library along with builder, its now generated in bootstrap as pare of making a gen_builder set of files. Singleheader will be changed in next few commits to reflect this as well (By making builder deps and components a conditional option). Tests are most likely all broken for now. |
||
---|---|---|
.. | ||
gen | ||
parsed | ||
upfront | ||
meson.build | ||
parsing.cpp | ||
parsing.hpp | ||
Readme.md | ||
sanity.cpp | ||
SOA.cpp | ||
test.cpp | ||
test.parsing.cpp | ||
test.singleheader_ast.cpp | ||
test.upfront.cpp | ||
upfront.cpp | ||
upfront.hpp | ||
validate_bootstrap.cpp | ||
validate_singleheader.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 library, 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 example of a non-trivial 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.