diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-24 18:31:36 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-24 18:31:36 -0400 |
| commit | 92a5cf818d0345bed5d04a30ff87ffd94f46eb84 (patch) | |
| tree | 5e48f54427ae23ef569a8b701f79592b648a4470 /src/compile/assertions.h | |
| parent | 9c9abbe1c41c4f5ae2a81e8215f4fd97868a6c4b (diff) | |
Split out assertions into its own file
Diffstat (limited to 'src/compile/assertions.h')
| -rw-r--r-- | src/compile/assertions.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/compile/assertions.h b/src/compile/assertions.h new file mode 100644 index 00000000..b5f604d2 --- /dev/null +++ b/src/compile/assertions.h @@ -0,0 +1,8 @@ +// This file defines how to compile assertions +#pragma once + +#include "../ast.h" +#include "../environment.h" +#include "../stdlib/datatypes.h" + +Text_t compile_assertion(env_t *env, ast_t *ast); |
