mirror of
https://github.com/Ed94/gencpp.git
synced 2024-12-22 07:44:45 -08:00
Ed_
9a784fe92f
I'm rewritting it the way I'd like to learn it. - I want to use csv parsing heavily with the library so I'm just going to add it to the scanner. - Globaly memory allocator moved to regular gen header/source as its something really just made for the library. - Some small refactors to macros - The parser was updated to support tokenizing preprocessor directives. - The purpose is based off intuition that it will be required for the scanner. |
||
---|---|---|
.. | ||
gen | ||
Parsed | ||
Upfront | ||
DummyInclude.hpp | ||
meson.build | ||
parsing.cpp | ||
parsing.hpp | ||
Readme.md | ||
sanity.cpp | ||
SOA.hpp | ||
test.cpp | ||
test.parsing.cpp | ||
test.Upfront.cpp | ||
upfront.cpp | ||
upfront.hpp |
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.