summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Perktold <Felix.Perktold@student.uibk.ac.at>2026-01-22 19:06:19 +0100
committerFelix Perktold <Felix.Perktold@student.uibk.ac.at>2026-01-22 19:06:19 +0100
commit991d7eaa2a9550c7be0a63d7c1ba7c38c7de2acf (patch)
tree4ce8c6573fdce67c20287260c589f191476f6853
parent87cf4ea19323dcac36ba2be7cae2af4341a13344 (diff)
fix test, add entry to README
-rw-r--r--README.ORG1
-rw-r--r--test.c5
2 files changed, 4 insertions, 2 deletions
diff --git a/README.ORG b/README.ORG
index 1ea05cf..a1353af 100644
--- a/README.ORG
+++ b/README.ORG
@@ -7,3 +7,4 @@ using lex and yacc
+ [[https://www.bowaggoner.com/writeups/jumpstart/flexbison/jumpstart_flexbison.pdf?utm_source][flex / bison jumpstart]]
+ [[https://github.com/Robert-van-Engelen/tinylisp/blob/main/tinylisp.pdf][tinylisp.pdf]]
+ [[https://w3.pppl.gov/info/readline/A_Short_Completion_Example.html][pppl.gov readline]]
++ [[https://web.mit.edu/6.001/6.037/sicp.pdf][SICP]]
diff --git a/test.c b/test.c
index c6df833..8f31896 100644
--- a/test.c
+++ b/test.c
@@ -387,8 +387,9 @@ void test_eq_symbols() {
value *expr =
cons(make_symbol("equal?"),
- cons(make_symbol("foo"),
- cons(make_symbol("foo"), make_nil())
+ cons(cons(make_symbol("quote"), cons(make_symbol("foo"), make_nil())),
+ cons(cons(make_symbol("quote"), cons(make_symbol("foo"), make_nil())),
+ make_nil())
)
);