From 83056a82a6d55f7edf2d7216d30000a4a6482310 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 31 Oct 2024 20:13:58 +0000 Subject: document things undocumented --- com.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'com.c') diff --git a/com.c b/com.c index e14bbc6..9b5055b 100644 --- a/com.c +++ b/com.c @@ -591,19 +591,19 @@ typedef struct { } BuiltinForm; static BuiltinForm builtin_forms[] = { - { "set!", 2, false, set_form, 0 }, + { "arrlit", 1, false, arrlit_form, 0 }, + { "def", 2, false, def_form, 0 }, + { "defn", 2, true, defn_form, 0 }, { "do", 1, true, do_form, 0 }, - { "if", 3, false, if_form, 0 }, - { "when", 2, true, when_form, 0 }, - { "while", 2, true, while_form, 0 }, - { "for", 2, true, for_form, 0 }, { "each", 2, true, each_form, 0 }, { "fn", 2, true, fn_form, 0 }, + { "for", 2, true, for_form, 0 }, + { "if", 3, false, if_form, 0 }, { "let", 2, true, let_form, 0 }, - { "def", 2, false, def_form, 0 }, - { "defn", 2, true, defn_form, 0 }, { "quote", 1, false, quote_form, 0 }, - { "arrlit", 1, false, arrlit_form, 0 }, + { "set!", 2, false, set_form, 0 }, + { "when", 2, true, when_form, 0 }, + { "while", 2, true, while_form, 0 }, #define ARITH_OP(str, op) \ { str, 2, false, arith_form, op }, ARITH_OP("+", OP_ADD) -- cgit v1.2.3