- macros work in the new way (the "right" way?) - added test.py script, with basic test cases. Need to fill out new test builtins.
18 lines
340 B
C
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
|