gencpp/test
2023-08-01 16:07:47 -04:00
..
gen first serialization of singlehearder without asserts. (Still failing after around 4k lines. 2023-08-01 16:07:47 -04:00
parsed renamed parsed and upfront dirs to lowercase 2023-07-29 16:27:36 -04:00
upfront renamed parsed and upfront dirs to lowercase 2023-07-29 16:27:36 -04:00
meson.build Updated readme, added def_body and AST::validate_body 2023-07-12 15:59:47 -04:00
parsing.cpp Fixes to memory mangment, library is much faster now. 2023-07-16 18:00:07 -04:00
parsing.hpp Fixes to memory mangment, library is much faster now. 2023-07-16 18:00:07 -04:00
Readme.md Refactor Test gen_time to GEN_TIME 2023-07-19 00:13:12 -04:00
sanity.cpp some cleanup of unused macros in test files, preparing bootstrap and single header code + scripts 2023-07-24 18:51:49 -04:00
SOA.cpp some cleanup of unused macros in test files, preparing bootstrap and single header code + scripts 2023-07-24 18:51:49 -04:00
test.cpp Progress toward preprocessor parsing, lexing works, parsing does not. 2023-07-30 18:55:57 -04:00
test.parsing.cpp Refactor Test gen_time to GEN_TIME 2023-07-19 00:13:12 -04:00
test.singleheader_ast.cpp first serialization of singlehearder without asserts. (Still failing after around 4k lines. 2023-08-01 16:07:47 -04:00
test.upfront.cpp got old tests working (test.parsing.cpp and test.upfront.cpp) 2023-07-29 16:00:06 -04:00
upfront.cpp Fixes to memory mangment, library is much faster now. 2023-07-16 18:00:07 -04:00
upfront.hpp Refactor Test gen_time to GEN_TIME 2023-07-19 00:13:12 -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 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.