Setup codegen metaprogram skeleton

Going use it to swap macro implementation usage in the compiler.
This commit is contained in:
2024-05-04 15:23:33 -04:00
parent fa82547705
commit 1c633f7306
20 changed files with 46544 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
// This file was generated automatially by gencpp's bootstrap.cpp (See: https://github.com/Ed94/gencpp)
#pragma once
#include "gen.hpp"
GEN_NS_BEGIN
struct Builder
{
FileInfo File;
String Buffer;
static Builder open( char const* path );
void pad_lines( s32 num );
void print( Code );
void print_fmt( char const* fmt, ... );
void write();
};
GEN_NS_END