diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-24 15:10:41 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-24 15:10:41 -0400 |
| commit | 634d1ad756fca46e1e8aec93a265998232dd58a6 (patch) | |
| tree | be05e440db02d4c76890026982aa6978f212f9bd /src/compile/enums.h | |
| parent | e30c0f06d55cd7b27c5d012a96989920f586e4a1 (diff) | |
Move structs/enums into the right folder
Diffstat (limited to 'src/compile/enums.h')
| -rw-r--r-- | src/compile/enums.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/compile/enums.h b/src/compile/enums.h new file mode 100644 index 00000000..6a42bece --- /dev/null +++ b/src/compile/enums.h @@ -0,0 +1,13 @@ +#pragma once + +// Compilation of tagged unions (enums) + +#include "../ast.h" +#include "../environment.h" +#include "../stdlib/datatypes.h" + +Text_t compile_enum_typeinfo(env_t *env, ast_t *ast); +Text_t compile_enum_constructors(env_t *env, ast_t *ast); +Text_t compile_enum_header(env_t *env, ast_t *ast); + +// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 |
