janet
janet copied to clipboard
A dynamic language and bytecode vm
Hello, The change in https://github.com/janet-lang/janet/commit/398833ebe333efa751c52d2fa0f0a940d1d9878b is no longer building on the following platforms, based upon an alpine docker image, such as 3.18. * `linux/386` / `linux/i386` * `linux/arm64` * `linux/arm/v6`...
On parse error, the REPL state is not reset. terminal trace: ``` > janet Janet 1.28.0-meson linux/x64/gcc - '(doc)' for help repl:1:> (print "\b") repl:1:10: parse error: invalid string escape...
This snippet: ```janet (ev/spawn-thread (peg/match '{ :main :s* } "")) ``` results in the following error: ``` error: grammar error in :s*, unknown rule in peg/match [src/core/peg.c] on line 1694...
Is there any official consensus and/or documentation on the implementation and use of abstract/OO types for streams in Janet? - What methods is a stream required to implement to be...
Created new lexer for CudaText (free editor). You can install it from "Plugins / Addons Manager / Install".  You can give the feedback here.
Hi, flychecking source files of projects which depend on [janet-uri](https://github.com/andrewchambers/janet-uri) fails with following error: ``` error: /home/ubuntu/.asdf/installs/janet/1.27.0/lib/janet/uri.janet:96:33: compile error: (macro) grammar error in nil, unexpected peg source in peg/compile [src/core/peg.c]...
https://hackage.haskell.org/package/base/docs/Data-List.html#v:intercalate > intercalate :: [a] -> [[a]] -> [a] This is equivalent to ``` (concat (intersperse xs xss)) ``` This is similar to ``` (mapcat (fn [x] x) (interpose xs...
Even if Janet doesn't explicitly allow cancellation of threads, other C functions may call pthread_cancel on threads. We should investigate making sure the interpreter integrates with pthead cancellation points such...
Use `size_t` for Janet types length and capacity and the API those types use, as discussed on Zulip
I'm trying to run some code that has a full `root-env` but has a different set of module paths than the main program. Right now I don't think this is...