diff options
| author | Mistivia <i@mistivia.com> | 2025-06-18 20:55:54 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-06-18 20:55:54 +0800 |
| commit | 0b335dc24e76cace44e748e62d5cbbc40c4355f5 (patch) | |
| tree | 5fa2ef69b88908a8ddb6c78624919d967fcba875 /src/bamboo.c | |
| parent | 6f1cfbda4a519ad8a232d126539a2732ab43c671 (diff) | |
finish parser
Diffstat (limited to 'src/bamboo.c')
| -rw-r--r-- | src/bamboo.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/bamboo.c b/src/bamboo.c deleted file mode 100644 index 70a84f5..0000000 --- a/src/bamboo.c +++ /dev/null @@ -1,22 +0,0 @@ -#include "bamboo.h" - -SExpRef new_list1(Bamboo *ctx, SExpRef e1) { - return cons(ctx, e1, nil(ctx)); -} - -SExpRef new_list2(Bamboo *ctx, SExpRef e1, SExpRef e2) { - return cons(ctx, e1, new_list1(ctx, e2)); -} - -SExpRef new_list3(Bamboo *ctx, SExpRef e1, SExpRef e2, SExpRef e3) { - return cons(ctx, e1, new_list2(ctx, e2, e3)); -} - -SExpRef new_list4(Bamboo *ctx, SExpRef e1, SExpRef e2, SExpRef e3, SExpRef e4) { - return cons(ctx, e1, new_list3(ctx, e2, e3, e4)); -} - -SExpRef new_list5(Bamboo *ctx, SExpRef e1, SExpRef e2, SExpRef e3, SExpRef e4, SExpRef e5) { - return cons(ctx, e1, new_list4(ctx, e2, e3, e4, e5)); -} - |
