summaryrefslogtreecommitdiff
path: root/com.c
diff options
context:
space:
mode:
Diffstat (limited to 'com.c')
-rw-r--r--com.c16
1 files changed, 8 insertions, 8 deletions
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)