Work on dynamic variable

This commit is contained in:
2026-07-19 02:23:10 -07:00
parent 67b68f8c61
commit f87af5efd2
11 changed files with 285 additions and 112 deletions
+1 -3
View File
@@ -142,9 +142,7 @@ static ALWAYS_INLINE void push_copy_lexenv(void) {
void set_lexical_variable(LispVal *name, LispVal *value);
// Just add a new lexical variable without any checking
static inline void new_lexical_variable(LispVal *name, LispVal *value) {
Vlexical_environment = CONS(name, CONS(value, Vlexical_environment));
}
void new_lexical_variable(LispVal *name, LispVal *value);
void unwind_to(StackFrame *frame);
static ALWAYS_INLINE LispVal *UNWIND_AND_RETURN(StackFrame *frame,