mirror of
https://github.com/Ed94/gencpp.git
synced 2024-09-20 11:27:32 -07:00
Ed_
f9085d4b6f
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.
50 lines
632 B
C++
50 lines
632 B
C++
#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\Sanity.Parsed.hpp"
|
|
|
|
|
|
#ifdef gen_time
|
|
#include "gen.cpp"
|
|
|
|
using namespace gen;
|
|
|
|
|
|
int gen_main()
|
|
{
|
|
Memory::setup();
|
|
gen::init();
|
|
|
|
gen_sanity();
|
|
|
|
gen_array( u8 );
|
|
gen_array( sw );
|
|
|
|
gen_buffer( u8 );
|
|
|
|
gen_hashtable( u32 );
|
|
|
|
gen_ring( s16 );
|
|
gen_ring( uw );
|
|
|
|
gen_array_file();
|
|
gen_buffer_file();
|
|
gen_hashtable_file();
|
|
gen_ring_file();
|
|
|
|
gen::deinit();
|
|
Memory::cleanup();
|
|
return 0;
|
|
}
|
|
#endif
|
|
|
|
|
|
#ifdef runtime
|
|
int main()
|
|
{
|
|
return 0;
|
|
}
|
|
#endif
|