integer constant program working up to ir

This commit is contained in:
water
2020-09-06 12:45:31 -04:00
parent 2b67b1078f
commit 8bf0bd86d3
20 changed files with 1142 additions and 34 deletions
@@ -0,0 +1,12 @@
#include "goalc/compiler/Compiler.h"
Val * Compiler::compile_exit(const goos::Object& form, const goos::Object& rest, Env* env) {
(void)env;
auto args = get_va(form, rest);
va_check(form, args, {}, {});
if(m_listener.is_connected()) {
m_listener.send_reset();
}
m_want_exit = true;
return get_none();
}