aboutsummaryrefslogtreecommitdiffstats
path: root/src/parser.c
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-11-01 17:58:57 +0100
committerBad Diode <bd@badd10de.dev>2021-11-01 17:58:57 +0100
commit9866fad84ada32ef4f386e8be6ca09bd3711f034 (patch)
treecf25cef7fab9d1e8972c9272640aaccc2a8eb1a0 /src/parser.c
parent64f4b9192c231236ddeb10548e577ca1e3f40e9b (diff)
downloadbdl-9866fad84ada32ef4f386e8be6ca09bd3711f034.tar.gz
bdl-9866fad84ada32ef4f386e8be6ca09bd3711f034.zip
Add type predicate primitive procedures
Added: nil?, zero?, bool?, fixnum?
Diffstat (limited to 'src/parser.c')
-rw-r--r--src/parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.c b/src/parser.c
index 57efd96..86cf713 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -9,6 +9,7 @@ static char *builtins [] = {
9 "+", "-", "*", "/", "%", 9 "+", "-", "*", "/", "%",
10 "=", "<", ">", "<=", ">=", 10 "=", "<", ">", "<=", ">=",
11 "not", "and", "or", 11 "not", "and", "or",
12 "nil?", "zero?", "fixnum?", "bool?",
12}; 13};
13 14
14uint64_t 15uint64_t