]> git.lizzy.rs Git - nothing.git/blob - src/script/scope.h
(#311) Implement clone_expr
[nothing.git] / src / script / scope.h
1 #ifndef SCOPE_H_
2 #define SCOPE_H_
3
4 #include "expr.h"
5 #include "builtins.h"
6
7 struct Expr empty_scope(void);
8 struct Expr get_scope_value(struct Expr scope, struct Expr name);
9 struct Expr set_scope_value(struct Expr scope, struct Expr name, struct Expr value);
10 struct Expr push_scope_frame(struct Expr scope);
11 struct Expr pop_scope_frame(struct Expr scope);
12
13
14 #endif  // SCOPE_H_