diff options
Diffstat (limited to 'src/runtime.h')
| -rw-r--r-- | src/runtime.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime.h b/src/runtime.h index e652205..26ac1c1 100644 --- a/src/runtime.h +++ b/src/runtime.h @@ -47,6 +47,7 @@ typedef struct { pit_value name; pit_value value; pit_value function; + bool is_macro; } pit_symtab_entry; typedef struct pit_runtime { @@ -105,6 +106,9 @@ pit_value pit_get(pit_runtime *rt, pit_value sym); void pit_set(pit_runtime *rt, pit_value sym, pit_value v); pit_value pit_fget(pit_runtime *rt, pit_value sym); void pit_fset(pit_runtime *rt, pit_value sym, pit_value v); +bool pit_is_symbol_macro(pit_runtime *rt, pit_value sym); +void pit_symbol_is_macro(pit_runtime *rt, pit_value sym); +void pit_mset(pit_runtime *rt, pit_value sym, pit_value v); // working with cons cells pit_value pit_cons(pit_runtime *rt, pit_value car, pit_value cdr); |
