1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-24 20:27:41 +00:00

Self host the repl, remove linenoise, and selfhost the

main client.
This commit is contained in:
Calvin Rose
2018-02-07 00:44:51 -05:00
parent 7bfb3145cb
commit 3e1f031576
18 changed files with 255 additions and 1754 deletions

View File

@@ -163,7 +163,7 @@
(def afiber-result (transfer afiber "world!"))
(assert (= afiber-result "hello, world!") "fiber error result")
(assert (= (status afiber) :error) "fiber error status")
(assert (= (fiber-status afiber) :error) "fiber error status")
# yield tests
@@ -172,7 +172,7 @@
(assert (= 1 (transfer t)) "initial transfer to new fiber")
(assert (= 2 (transfer t)) "second transfer to fiber")
(assert (= 3 (transfer t)) "return from fiber")
(assert (= (status t) :dead) "finished fiber is dead")
(assert (= (fiber-status t) :dead) "finished fiber is dead")
# Var arg tests