Initial commit

This commit is contained in:
2025-09-03 03:20:58 -07:00
commit 1e16b4d34e
20 changed files with 455 additions and 0 deletions

24
include/lisp/function.h Normal file
View File

@ -0,0 +1,24 @@
#ifndef INCLUDED_FUNCTION_H
#define INCLUDED_FUNCTION_H
#include "lisp/hashtable.h"
#include "lisp/object.h"
#include "lisp/util.h"
LISP_BEGIN_DECLS
DECLARE_CLASS(Function);
struct Function {
Object base;
Object *req_args;
Object *opt_args;
Object *kw_args;
Hashtable *arg_props;
};
struct FunctionClass {
Class base;
};
LISP_END_DECLS
#endif