2023-07-24 15:51:49 -07:00
|
|
|
#define GEN_DEFINE_LIBRARY_CODE_CONSTANTS
|
|
|
|
#define GEN_ENFORCE_STRONG_CODE_TYPES
|
|
|
|
#define GEN_EXPOSE_BACKEND
|
2024-12-06 21:21:09 -08:00
|
|
|
#define GEN_C_LIKE_CPP 1
|
2024-12-10 04:24:32 -08:00
|
|
|
#include "../project/gen.cpp"
|
2023-08-03 08:01:43 -07:00
|
|
|
|
2023-08-09 15:47:59 -07:00
|
|
|
#include "helpers/push_ignores.inline.hpp"
|
2023-07-29 02:52:06 -07:00
|
|
|
#include "helpers/helper.hpp"
|
2023-07-24 15:51:49 -07:00
|
|
|
|
2023-08-03 08:01:43 -07:00
|
|
|
GEN_NS_BEGIN
|
2024-12-05 14:48:24 -08:00
|
|
|
#include "helpers/push_container_defines.inline.hpp"
|
2023-08-03 08:01:43 -07:00
|
|
|
#include "dependencies/parsing.cpp"
|
2024-12-05 14:48:24 -08:00
|
|
|
#include "helpers/pop_container_defines.inline.hpp"
|
2023-08-03 08:01:43 -07:00
|
|
|
GEN_NS_END
|
|
|
|
|
2023-08-09 15:47:59 -07:00
|
|
|
#include "auxillary/builder.hpp"
|
|
|
|
#include "auxillary/builder.cpp"
|
|
|
|
#include "auxillary/scanner.hpp"
|
2023-08-03 08:01:43 -07:00
|
|
|
|
2023-07-24 15:51:49 -07:00
|
|
|
using namespace gen;
|
|
|
|
|
2023-08-03 08:01:43 -07:00
|
|
|
constexpr char const* generation_notice =
|
2023-08-22 21:05:58 -07:00
|
|
|
"// This file was generated automatially by gencpp's bootstrap.cpp "
|
2023-08-03 08:01:43 -07:00
|
|
|
"(See: https://github.com/Ed94/gencpp)\n\n";
|
2023-07-24 19:19:21 -07:00
|
|
|
|
2024-10-27 18:38:02 -07:00
|
|
|
#include <cstdlib> // for system()
|
|
|
|
|
2024-10-27 17:01:54 -07:00
|
|
|
void format_file( char const* path )
|
|
|
|
{
|
2024-12-04 08:01:53 -08:00
|
|
|
String resolved_path = string_make_strc(GlobalAllocator, to_strc_from_c_str(path));
|
2024-10-27 17:01:54 -07:00
|
|
|
|
2024-12-04 08:01:53 -08:00
|
|
|
String style_arg = string_make_strc(GlobalAllocator, txt("-style=file:"));
|
|
|
|
string_append_strc( & style_arg, txt("../scripts/.clang-format "));
|
2024-10-27 17:01:54 -07:00
|
|
|
|
|
|
|
// Need to execute clang format on the generated file to get it to match the original.
|
2024-12-04 08:01:53 -08:00
|
|
|
#define clang_format txt("clang-format ")
|
|
|
|
#define cf_format_inplace txt("-i ")
|
|
|
|
#define cf_verbose txt("-verbose ")
|
|
|
|
String command = string_make_strc( GlobalAllocator, clang_format );
|
|
|
|
string_append_strc( & command, cf_format_inplace );
|
|
|
|
string_append_strc( & command, cf_verbose );
|
|
|
|
string_append_string( & command, style_arg );
|
|
|
|
string_append_string( & command, resolved_path );
|
2024-10-27 17:01:54 -07:00
|
|
|
log_fmt("\tRunning clang-format on file:\n");
|
|
|
|
system( command );
|
|
|
|
log_fmt("\tclang-format finished reformatting.\n");
|
|
|
|
#undef cf_cmd
|
|
|
|
#undef cf_format_inplace
|
|
|
|
#undef cf_style
|
|
|
|
#undef cf_verbse
|
|
|
|
}
|
|
|
|
|
|
|
|
Code dump_to_scratch_and_retireve( Code code )
|
|
|
|
{
|
2024-12-10 04:24:32 -08:00
|
|
|
Builder ecode_file_temp = builder_open("gen/scratch.hpp");
|
|
|
|
builder_print( & ecode_file_temp, code);
|
|
|
|
builder_write(& ecode_file_temp);
|
2024-10-27 17:01:54 -07:00
|
|
|
format_file("gen/scratch.hpp");
|
|
|
|
Code result = scan_file( "gen/scratch.hpp" );
|
|
|
|
remove("gen/scratch.hpp");
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
|
2023-07-24 15:56:15 -07:00
|
|
|
int gen_main()
|
2023-07-24 15:51:49 -07:00
|
|
|
{
|
2023-07-24 19:19:21 -07:00
|
|
|
gen::init();
|
|
|
|
|
2024-12-01 15:50:37 -08:00
|
|
|
// PreprocessorDefines.append("GEN_NS");
|
|
|
|
|
2023-08-28 20:46:50 -07:00
|
|
|
Code push_ignores = scan_file( "helpers/push_ignores.inline.hpp" );
|
|
|
|
Code pop_ignores = scan_file( "helpers/pop_ignores.inline.hpp" );
|
2023-07-24 19:19:21 -07:00
|
|
|
|
2023-07-25 12:12:51 -07:00
|
|
|
// gen_dep.hpp
|
2023-07-24 19:19:21 -07:00
|
|
|
{
|
2024-10-27 15:58:37 -07:00
|
|
|
Code platform = scan_file( "dependencies/platform.hpp" );
|
2023-08-09 15:47:59 -07:00
|
|
|
Code macros = scan_file( "dependencies/macros.hpp" );
|
|
|
|
Code basic_types = scan_file( "dependencies/basic_types.hpp" );
|
|
|
|
Code debug = scan_file( "dependencies/debug.hpp" );
|
|
|
|
Code memory = scan_file( "dependencies/memory.hpp" );
|
|
|
|
Code string_ops = scan_file( "dependencies/string_ops.hpp" );
|
|
|
|
Code printing = scan_file( "dependencies/printing.hpp" );
|
|
|
|
Code containers = scan_file( "dependencies/containers.hpp" );
|
|
|
|
Code hashing = scan_file( "dependencies/hashing.hpp" );
|
|
|
|
Code strings = scan_file( "dependencies/strings.hpp" );
|
|
|
|
Code filesystem = scan_file( "dependencies/filesystem.hpp" );
|
|
|
|
Code timing = scan_file( "dependencies/timing.hpp" );
|
2023-07-25 12:12:51 -07:00
|
|
|
|
2024-12-10 04:24:32 -08:00
|
|
|
Builder _header = builder_open("gen/gen.dep.hpp");
|
|
|
|
Builder* header = & _header;
|
|
|
|
builder_print_fmt( header, generation_notice );
|
|
|
|
builder_print_fmt( header, "// This file is intended to be included within gen.hpp (There is no pragma diagnostic ignores)\n" );
|
|
|
|
builder_print( header, platform );
|
|
|
|
builder_print_fmt( header, "\nGEN_NS_BEGIN\n" );
|
|
|
|
|
|
|
|
builder_print( header, macros );
|
|
|
|
builder_print( header, basic_types );
|
|
|
|
builder_print( header, debug );
|
|
|
|
builder_print( header, memory );
|
|
|
|
builder_print( header, string_ops );
|
|
|
|
builder_print( header, printing );
|
|
|
|
builder_print( header, containers );
|
|
|
|
builder_print( header, hashing );
|
|
|
|
builder_print( header, strings );
|
|
|
|
builder_print( header, filesystem );
|
|
|
|
builder_print( header, timing );
|
|
|
|
|
|
|
|
builder_print_fmt( header, "\nGEN_NS_END\n" );
|
|
|
|
builder_write(header);
|
2023-07-24 19:19:21 -07:00
|
|
|
}
|
|
|
|
|
2023-07-25 12:12:51 -07:00
|
|
|
// gen_dep.cpp
|
2023-07-24 19:19:21 -07:00
|
|
|
{
|
2023-08-09 15:47:59 -07:00
|
|
|
Code src_start = scan_file( "dependencies/src_start.cpp" );
|
|
|
|
Code debug = scan_file( "dependencies/debug.cpp" );
|
|
|
|
Code string_ops = scan_file( "dependencies/string_ops.cpp" );
|
|
|
|
Code printing = scan_file( "dependencies/printing.cpp" );
|
|
|
|
Code memory = scan_file( "dependencies/memory.cpp" );
|
|
|
|
Code hashing = scan_file( "dependencies/hashing.cpp" );
|
|
|
|
Code strings = scan_file( "dependencies/strings.cpp" );
|
|
|
|
Code filesystem = scan_file( "dependencies/filesystem.cpp" );
|
|
|
|
Code timing = scan_file( "dependencies/timing.cpp" );
|
2023-07-25 12:12:51 -07:00
|
|
|
|
2024-12-10 04:24:32 -08:00
|
|
|
Builder _src = builder_open( "gen/gen.dep.cpp" );
|
|
|
|
Builder* src = & _src;
|
|
|
|
builder_print_fmt(src, generation_notice );
|
|
|
|
builder_print_fmt( src, "// This file is intended to be included within gen.cpp (There is no pragma diagnostic ignores)\n" );
|
|
|
|
builder_print( src, src_start );
|
|
|
|
builder_print_fmt( src, "\nGEN_NS_BEGIN\n" );
|
|
|
|
|
|
|
|
builder_print( src, debug );
|
|
|
|
builder_print( src, string_ops );
|
|
|
|
builder_print( src, printing );
|
|
|
|
builder_print( src, hashing );
|
|
|
|
builder_print( src, memory );
|
|
|
|
builder_print( src, strings );
|
|
|
|
builder_print( src, filesystem );
|
|
|
|
builder_print( src, timing );
|
|
|
|
|
|
|
|
builder_print_fmt( src, "\nGEN_NS_END\n" );
|
|
|
|
builder_write(src);
|
2023-07-24 19:19:21 -07:00
|
|
|
}
|
|
|
|
|
2023-09-25 13:42:29 -07:00
|
|
|
CodeBody gen_component_header = def_global_body( args(
|
|
|
|
def_preprocess_cond( PreprocessCond_IfDef, txt("GEN_INTELLISENSE_DIRECTIVES") ),
|
|
|
|
pragma_once,
|
|
|
|
def_include(txt("components/types.hpp")),
|
|
|
|
preprocess_endif,
|
|
|
|
fmt_newline,
|
2024-12-04 08:30:54 -08:00
|
|
|
untyped_str( to_strc_from_c_str(generation_notice) )
|
2023-09-25 13:42:29 -07:00
|
|
|
));
|
|
|
|
|
2023-07-25 12:12:51 -07:00
|
|
|
// gen.hpp
|
2023-07-24 19:19:21 -07:00
|
|
|
{
|
2023-07-29 02:52:06 -07:00
|
|
|
Code header_start = scan_file( "components/header_start.hpp" );
|
|
|
|
Code types = scan_file( "components/types.hpp" );
|
2023-08-03 08:01:43 -07:00
|
|
|
Code ast = scan_file( "components/ast.hpp" );
|
|
|
|
Code ast_types = scan_file( "components/ast_types.hpp" );
|
2023-11-21 17:07:49 -08:00
|
|
|
Code code_types = scan_file( "components/code_types.hpp" );
|
2023-07-29 02:52:06 -07:00
|
|
|
Code interface = scan_file( "components/interface.hpp" );
|
2023-08-03 08:01:43 -07:00
|
|
|
Code inlines = scan_file( "components/inlines.hpp" );
|
2023-07-29 02:52:06 -07:00
|
|
|
Code header_end = scan_file( "components/header_end.hpp" );
|
2023-07-25 12:12:51 -07:00
|
|
|
|
2024-12-07 14:17:02 -08:00
|
|
|
CodeBody ecode = gen_ecode ( "enums/ECodeTypes.csv" );
|
2023-08-06 11:58:43 -07:00
|
|
|
CodeBody eoperator = gen_eoperator ( "enums/EOperator.csv" );
|
|
|
|
CodeBody especifier = gen_especifier( "enums/ESpecifier.csv" );
|
|
|
|
CodeBody ast_inlines = gen_ast_inlines();
|
2023-07-26 11:21:20 -07:00
|
|
|
|
2024-12-10 04:24:32 -08:00
|
|
|
Builder _header = builder_open( "gen/gen.hpp" );
|
|
|
|
Builder* header = & _header;
|
|
|
|
builder_print_fmt( header, generation_notice );
|
|
|
|
builder_print_fmt( header, "#pragma once\n\n" );
|
|
|
|
builder_print( header, push_ignores );
|
|
|
|
builder_print( header, header_start );
|
|
|
|
builder_print_fmt( header, "\nGEN_NS_BEGIN\n\n" );
|
|
|
|
|
|
|
|
builder_print_fmt(header, "#pragma region Types\n" );
|
|
|
|
builder_print( header, types );
|
|
|
|
builder_print( header, fmt_newline);
|
|
|
|
builder_print( header, dump_to_scratch_and_retireve(ecode) );
|
|
|
|
builder_print( header, fmt_newline);
|
|
|
|
builder_print( header, dump_to_scratch_and_retireve(eoperator) );
|
|
|
|
builder_print( header, fmt_newline);
|
|
|
|
builder_print( header, dump_to_scratch_and_retireve(especifier) );
|
|
|
|
builder_print( header, fmt_newline);
|
|
|
|
builder_print_fmt( header, "#pragma endregion Types\n\n" );
|
|
|
|
|
|
|
|
builder_print_fmt( header, "#pragma region AST\n" );
|
|
|
|
builder_print( header, ast );
|
|
|
|
builder_print( header, code_types );
|
|
|
|
builder_print( header, ast_types );
|
|
|
|
builder_print_fmt( header, "\n#pragma endregion AST\n" );
|
|
|
|
|
|
|
|
builder_print( header, interface );
|
|
|
|
|
|
|
|
builder_print_fmt( header, "\n#pragma region Inlines\n" );
|
|
|
|
builder_print( header, inlines );
|
|
|
|
builder_print( header, fmt_newline );
|
|
|
|
builder_print( header, dump_to_scratch_and_retireve(ast_inlines) );
|
|
|
|
builder_print( header, fmt_newline );
|
|
|
|
builder_print_fmt( header, "#pragma endregion Inlines\n" );
|
|
|
|
|
|
|
|
builder_print( header, header_end );
|
|
|
|
builder_print_fmt( header, "GEN_NS_END\n\n" );
|
|
|
|
builder_print( header, pop_ignores );
|
|
|
|
builder_write(header);
|
|
|
|
|
|
|
|
Builder header_ecode = builder_open( "components/gen/ecode.hpp" );
|
|
|
|
builder_print( & header_ecode, gen_component_header );
|
2024-12-10 10:56:56 -08:00
|
|
|
builder_print( & header_ecode, dump_to_scratch_and_retireve(ecode) );
|
2024-12-10 04:24:32 -08:00
|
|
|
builder_write( & header_ecode);
|
|
|
|
|
|
|
|
Builder header_eoperator = builder_open( "components/gen/eoperator.hpp" );
|
|
|
|
builder_print( & header_eoperator, gen_component_header );
|
2024-12-10 10:56:56 -08:00
|
|
|
builder_print( & header_eoperator, dump_to_scratch_and_retireve(eoperator) );
|
2024-12-10 04:24:32 -08:00
|
|
|
builder_write( & header_eoperator );
|
|
|
|
|
|
|
|
Builder header_especifier = builder_open( "components/gen/especifier.hpp" );
|
|
|
|
builder_print( & header_especifier, gen_component_header );
|
2024-12-10 10:56:56 -08:00
|
|
|
builder_print( & header_especifier, dump_to_scratch_and_retireve(especifier) );
|
2024-12-10 04:24:32 -08:00
|
|
|
builder_write( & header_especifier);
|
|
|
|
|
|
|
|
Builder header_ast_inlines = builder_open( "components/gen/ast_inlines.hpp" );
|
|
|
|
builder_print( & header_ast_inlines, gen_component_header );
|
2024-12-10 10:56:56 -08:00
|
|
|
builder_print( & header_ast_inlines, dump_to_scratch_and_retireve(ast_inlines) );
|
2024-12-10 04:24:32 -08:00
|
|
|
builder_write( & header_ast_inlines);
|
2023-07-24 19:19:21 -07:00
|
|
|
}
|
2023-07-24 15:51:49 -07:00
|
|
|
|
2023-07-25 12:12:51 -07:00
|
|
|
// gen.cpp
|
2023-07-24 19:19:21 -07:00
|
|
|
{
|
2023-11-19 17:34:46 -08:00
|
|
|
Code src_start = scan_file( "components/src_start.cpp" );
|
|
|
|
Code static_data = scan_file( "components/static_data.cpp" );
|
|
|
|
Code ast_case_macros = scan_file( "components/ast_case_macros.cpp" );
|
|
|
|
Code ast = scan_file( "components/ast.cpp" );
|
|
|
|
Code code_serialization = scan_file( "components/code_serialization.cpp" );
|
|
|
|
Code interface = scan_file( "components/interface.cpp" );
|
|
|
|
Code upfront = scan_file( "components/interface.upfront.cpp" );
|
2023-11-20 12:09:01 -08:00
|
|
|
Code lexer = scan_file( "components/lexer.cpp" );
|
|
|
|
Code parser = scan_file( "components/parser.cpp" );
|
|
|
|
Code parsing_interface = scan_file( "components/interface.parsing.cpp" );
|
2023-11-19 17:34:46 -08:00
|
|
|
Code untyped = scan_file( "components/interface.untyped.cpp" );
|
2023-07-29 02:52:06 -07:00
|
|
|
|
2023-08-21 20:28:39 -07:00
|
|
|
CodeBody etoktype = gen_etoktype( "enums/ETokType.csv", "enums/AttributeTokens.csv" );
|
2024-12-03 06:31:27 -08:00
|
|
|
//CodeNS nspaced_etoktype = def_namespace( name(parser), def_namespace_body( args(etoktype)) );
|
|
|
|
CodeBody nspaced_etoktype = def_global_body( args(
|
2024-12-09 13:45:18 -08:00
|
|
|
etoktype
|
2024-12-03 06:31:27 -08:00
|
|
|
));
|
2024-12-10 10:56:56 -08:00
|
|
|
Code formatted_toktype = dump_to_scratch_and_retireve(nspaced_etoktype);
|
2023-07-26 23:51:36 -07:00
|
|
|
|
2024-12-10 04:24:32 -08:00
|
|
|
Builder _src = builder_open( "gen/gen.cpp" );
|
|
|
|
Builder* src = & _src;
|
|
|
|
builder_print_fmt( src, generation_notice );
|
|
|
|
builder_print( src, push_ignores );
|
|
|
|
builder_print( src, src_start );
|
|
|
|
builder_print_fmt( src, "\nGEN_NS_BEGIN\n");
|
|
|
|
|
|
|
|
builder_print( src, static_data );
|
|
|
|
|
|
|
|
builder_print_fmt( src, "\n#pragma region AST\n\n" );
|
|
|
|
builder_print( src, ast_case_macros );
|
|
|
|
builder_print( src, ast );
|
|
|
|
builder_print( src, code_serialization );
|
|
|
|
builder_print_fmt( src, "\n#pragma endregion AST\n" );
|
|
|
|
|
|
|
|
builder_print_fmt( src, "\n#pragma region Interface\n" );
|
|
|
|
builder_print( src, interface );
|
|
|
|
builder_print( src, upfront );
|
|
|
|
builder_print_fmt( src, "\n#pragma region Parsing\n\n" );
|
2024-12-10 10:56:56 -08:00
|
|
|
builder_print( src, formatted_toktype );
|
2024-12-10 04:24:32 -08:00
|
|
|
builder_print( src, lexer );
|
|
|
|
builder_print( src, parser );
|
|
|
|
builder_print( src, parsing_interface );
|
|
|
|
builder_print( src, untyped );
|
|
|
|
builder_print_fmt( src, "\n#pragma endregion Parsing\n\n" );
|
|
|
|
builder_print_fmt( src, "#pragma endregion Interface\n\n" );
|
|
|
|
|
|
|
|
builder_print_fmt( src, "GEN_NS_END\n\n");
|
|
|
|
builder_print( src, pop_ignores );
|
|
|
|
builder_write(src);
|
|
|
|
|
|
|
|
Builder src_etoktype = builder_open( "components/gen/etoktype.cpp" );
|
|
|
|
builder_print( & src_etoktype, gen_component_header );
|
2024-12-10 10:56:56 -08:00
|
|
|
builder_print( & src_etoktype, formatted_toktype );
|
2024-12-10 04:24:32 -08:00
|
|
|
builder_write( & src_etoktype);
|
2023-08-03 08:01:43 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
// gen_builder.hpp
|
|
|
|
{
|
2023-08-21 20:28:39 -07:00
|
|
|
Code builder = scan_file( "auxillary/builder.hpp" );
|
2023-08-03 08:01:43 -07:00
|
|
|
|
2024-12-10 04:24:32 -08:00
|
|
|
Builder header = builder_open( "gen/gen.builder.hpp" );
|
|
|
|
builder_print_fmt( & header, generation_notice );
|
|
|
|
builder_print_fmt( & header, "#pragma once\n\n" );
|
|
|
|
builder_print( & header, def_include( txt("gen.hpp") ));
|
|
|
|
builder_print_fmt( & header, "\nGEN_NS_BEGIN\n" );
|
|
|
|
builder_print( & header, builder );
|
|
|
|
builder_print_fmt( & header, "GEN_NS_END\n" );
|
|
|
|
builder_write( & header);
|
2023-08-03 08:01:43 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
// gen_builder.cpp
|
2024-12-10 04:24:32 -08:00
|
|
|
|
2023-08-21 20:28:39 -07:00
|
|
|
Code builder = scan_file( "auxillary/builder.cpp" );
|
2023-07-25 12:12:51 -07:00
|
|
|
|
2024-12-10 04:24:32 -08:00
|
|
|
Builder src = builder_open( "gen/gen.builder.cpp" );
|
|
|
|
builder_print_fmt( & src, generation_notice );
|
|
|
|
builder_print( & src, def_include( txt("gen.builder.hpp") ) );
|
|
|
|
builder_print_fmt( & src, "\nGEN_NS_BEGIN\n" );
|
|
|
|
builder_print( & src, builder );
|
|
|
|
builder_print_fmt( & src, "\nGEN_NS_END\n" );
|
|
|
|
builder_write( & src);
|
|
|
|
|
2023-07-24 15:51:49 -07:00
|
|
|
|
2023-08-03 20:18:33 -07:00
|
|
|
// gen_scanner.hpp
|
|
|
|
{
|
|
|
|
Code parsing = scan_file( "dependencies/parsing.hpp" );
|
2023-08-21 20:28:39 -07:00
|
|
|
Code scanner = scan_file( "auxillary/scanner.hpp" );
|
2023-08-03 20:18:33 -07:00
|
|
|
|
2024-12-10 04:24:32 -08:00
|
|
|
Builder header = builder_open( "gen/gen.scanner.hpp" );
|
|
|
|
builder_print_fmt( & header, generation_notice );
|
|
|
|
builder_print_fmt( & header, "#pragma once\n\n" );
|
|
|
|
builder_print( & header, def_include( txt("gen.hpp") ) );
|
|
|
|
builder_print_fmt( & header, "\nGEN_NS_BEGIN\n" );
|
|
|
|
builder_print( & header, parsing );
|
|
|
|
builder_print( & header, scanner );
|
|
|
|
builder_print_fmt( & header, "\nGEN_NS_END\n" );
|
|
|
|
builder_write(& header);
|
2023-08-03 20:18:33 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
// gen_scanner.cpp
|
|
|
|
{
|
|
|
|
Code parsing = scan_file( "dependencies/parsing.cpp" );
|
2023-08-21 20:28:39 -07:00
|
|
|
Code scanner = scan_file( "auxillary/scanner.cpp" );
|
2023-08-03 20:18:33 -07:00
|
|
|
|
2024-12-10 04:24:32 -08:00
|
|
|
Builder src = builder_open( "gen/gen.scanner.cpp" );
|
|
|
|
builder_print_fmt( & src, generation_notice );
|
|
|
|
builder_print( & src, def_include( txt("gen.scanner.hpp") ) );
|
|
|
|
builder_print_fmt( & src, "\nGEN_NS_BEGIN\n" );
|
|
|
|
builder_print( & src, parsing );
|
|
|
|
builder_print( & src, scanner );
|
|
|
|
builder_print_fmt( & src, "GEN_NS_END\n" );
|
|
|
|
builder_write( & src);
|
2023-08-03 20:18:33 -07:00
|
|
|
}
|
|
|
|
|
2023-07-24 19:19:21 -07:00
|
|
|
gen::deinit();
|
2023-07-24 15:51:49 -07:00
|
|
|
return 0;
|
|
|
|
}
|