lisp-take-1/value/user_lambda/struct.h
Zander Thannhauser 44fb99b663 .
- macros work in the new way (the "right" way?)
- added test.py script, with basic test cases. Need to fill out new test
  builtins.
2024-12-02 19:33:23 -06:00

18 lines
340 B
C

#ifndef STRUCT_USER_LAMBDA_VALUE
#define STRUCT_USER_LAMBDA_VALUE
struct user_lambda_value
{
struct value* environment;
struct value* parameters; // list of names;
struct value* body;
bool is_macro;
// decides whether we evaluate the parameters before passing them \\
through.
};
#endif