Parser constructor passes all current tests...

Pretty much have a working library now... Albiet with problably quite a few hidden bugs in parsing.

Next steps are to start converting library to use its own Arena, Pool, Array, HashTable types. And either work on zpl dependency gutting or making a more robust set of tests.
This commit is contained in:
2023-07-11 03:10:20 -04:00
parent ddb3244467
commit f9085d4b6f
12 changed files with 787 additions and 50 deletions

View File

@ -1,8 +1,8 @@
#include "Bloat.cpp"
#include "Parsed\Array.Parsed.hpp"
// #include "Parsed\Buffer.Parsed.hpp"
// #include "Parsed\HashTable.Parsed.hpp"
// #include "Parsed\Ring.Parsed.hpp"
#include "Parsed\Buffer.Parsed.hpp"
#include "Parsed\HashTable.Parsed.hpp"
#include "Parsed\Ring.Parsed.hpp"
#include "Parsed\Sanity.Parsed.hpp"
@ -17,21 +17,22 @@ int gen_main()
Memory::setup();
gen::init();
// gen_sanity();
gen_sanity();
gen_array( u8 );
// gen_array( sw );
gen_array( sw );
// gen_buffer( u8 );
gen_buffer( u8 );
// gen_hashtable( u32 );
gen_hashtable( u32 );
// gen_ring( s16 );
gen_ring( s16 );
gen_ring( uw );
gen_array_file();
// gen_buffer_file();
// gen_hashtable_file();
// gen_ring_file();
gen_buffer_file();
gen_hashtable_file();
gen_ring_file();
gen::deinit();
Memory::cleanup();