branch, dip, i, loop

The core combinators (except fork).
This commit is contained in:
Simon Forman
2022-09-24 20:45:06 -07:00
parent 3ecd7ab595
commit c591bf4138
3 changed files with 63 additions and 5 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ proc pop_bool(stack: JoyListType): (bool, JoyListType) =
of joyFalse:
return (false, stack.tail)
else:
raise newException(ValueError, "Not a list.")
raise newException(ValueError, "Not a Boolean value.")
# We might not need to reify to bool? Just "if foo == j_true" everywhere?