There is a problem in the code for conditionals.c
Closed this issue · 1 comments
youngjeff commented
You write a good tutorial, I learned a lot. But the symbols in lines 641 through 644 are escaped:
lenv_add_builtin(e, ">", builtin_gt);
lenv_add_builtin(e, "<", builtin_lt);
lenv_add_builtin(e, ">=", builtin_ge);
lenv_add_builtin(e, "<=", builtin_le);
they should be:
lenv_add_builtin(e, ">", builtin_gt);
lenv_add_builtin(e, "<", builtin_lt);
lenv_add_builtin(e, ">=", builtin_ge);
lenv_add_builtin(e, "<=", builtin_le);
orangeduck commented
So they are. Thanks! Fixed in 5741cb8.