gencpp/test/ZPL-C
Ed_ 5e79e8ba65 Started to setup for codebase validation tests.
Fleshed out initial version of AST::is_equal( AST* )

Setup the test directory with initial files for each major validation test.
2023-08-22 16:01:50 -04:00
..
Readme.md Started to setup for codebase validation tests. 2023-08-22 16:01:50 -04:00
validate.ps1 Started to setup for codebase validation tests. 2023-08-22 16:01:50 -04:00
validate.zpl-c.cpp Started to setup for codebase validation tests. 2023-08-22 16:01:50 -04:00

Test : ZPL-C Reconstruction

Note: This validation test has not been implemented yet.

Repo : https://github.com/zpl-c/zpl

This is a AST reconstruction test of the ZPL-C library.

Much of the dependency code used in gencpp is derived from the ZPL-C library. In the future I could directly generate that related code from the ZPL-C library.

For now it just does the following:

  1. Download the ZPL-C library
  2. Grab all header and source file paths
  3. Generate an ast for each file and serialize it to a file called .gen.<h/c>
  4. Reconstruct the ast from the generated file
  5. Compare the original ast to the reconstructed ast