2023-07-19 00:13:12 -04:00
|
|
|
#ifdef GEN_TIME
|
2023-07-12 03:41:16 -04:00
|
|
|
#define GEN_FEATURE_PARSING
|
2023-07-16 18:00:07 -04:00
|
|
|
#define GEN_DEFINE_LIBRARY_CODE_CONSTANTS
|
|
|
|
#define GEN_ENFORCE_STRONG_CODE_TYPES
|
|
|
|
#define GEN_EXPOSE_BACKEND
|
|
|
|
#define GEN_BENCHMARK
|
2023-07-12 03:41:16 -04:00
|
|
|
#include "gen.cpp"
|
2023-08-07 14:52:26 -04:00
|
|
|
#include "Array.Upfront.hpp"
|
|
|
|
#include "Buffer.Upfront.hpp"
|
|
|
|
#include "HashTable.Upfront.hpp"
|
|
|
|
#include "Ring.Upfront.hpp"
|
|
|
|
#include "Sanity.Upfront.hpp"
|
2023-04-01 22:21:46 -04:00
|
|
|
|
2023-04-02 01:07:44 -04:00
|
|
|
|
2023-04-23 22:53:30 -04:00
|
|
|
using namespace gen;
|
|
|
|
|
|
|
|
|
2023-04-02 01:07:44 -04:00
|
|
|
int gen_main()
|
2023-04-01 22:21:46 -04:00
|
|
|
{
|
2023-04-03 03:55:28 -04:00
|
|
|
gen::init();
|
2023-04-02 12:35:14 -04:00
|
|
|
|
2023-07-15 16:13:44 -04:00
|
|
|
gen_sanity_upfront();
|
2023-06-30 03:13:41 -04:00
|
|
|
|
|
|
|
gen_array( u8 );
|
2024-10-27 18:58:37 -04:00
|
|
|
gen_array( ssize );
|
2023-06-28 14:43:21 -04:00
|
|
|
|
2023-06-30 13:56:31 -04:00
|
|
|
gen_buffer( u8 );
|
2023-06-30 15:11:49 -04:00
|
|
|
|
2023-07-01 00:23:40 -04:00
|
|
|
gen_hashtable( u32 );
|
|
|
|
|
2023-06-30 15:11:49 -04:00
|
|
|
gen_ring( s16 );
|
|
|
|
|
|
|
|
gen_array_file();
|
2023-06-30 13:56:31 -04:00
|
|
|
gen_buffer_file();
|
2023-07-01 00:23:40 -04:00
|
|
|
gen_hashtable_file();
|
2023-06-30 15:11:49 -04:00
|
|
|
gen_ring_file();
|
2023-06-30 13:56:31 -04:00
|
|
|
|
2023-05-08 20:54:24 -04:00
|
|
|
gen::deinit();
|
2023-04-23 00:43:31 -04:00
|
|
|
return 0;
|
2023-04-02 01:07:44 -04:00
|
|
|
}
|
2023-04-01 22:21:46 -04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2023-04-10 21:33:06 -04:00
|
|
|
#ifdef runtime
|
2023-04-01 22:21:46 -04:00
|
|
|
int main()
|
|
|
|
{
|
2023-04-09 14:51:37 -04:00
|
|
|
return 0;
|
2023-04-01 22:21:46 -04:00
|
|
|
}
|
|
|
|
#endif
|