gencpp/test
Ed_ 03df940085 Improved parser scope errors.
Added the caret for indicating where the error is.
2023-07-29 17:14:02 -04:00
..
gen Started to generate the enums from csv (ECode, EOperator, ESpecifier). 2023-07-26 14:21:20 -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 Improved parser scope errors. 2023-07-29 17:14:02 -04:00
test.parsing.cpp Refactor Test gen_time to GEN_TIME 2023-07-19 00:13:12 -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.