janet
janet copied to clipboard
A dynamic language and bytecode vm
I've added a [Rosetta Code page](https://www.rosettacode.org/wiki/Category:Janet) for Janet, but we still need some more examples. I've added an example for the 100 doors problem, but there are many more examples...
Am on `Janet 1.16.1-87f8fe14 linux/x64` `main.janet` ``` (def c (ev/chan 1)) (defn main [& args] (pp c)) ``` `project.janet` ``` (declare-project :name "chan") (declare-executable :name "chan" :entry "main.janet") ``` ```...
jpm is able to compile native modules for use in artifacts, but currently only supports those modules being written in one language: C. There are other languages, such as Zig...
The `project.janet` file is the de facto single destination for project config and metdata, due to its use by `jpm`. This, plus its inherently open nature as a mostly-normal Janet...
Would a deprecation policy be useful for Janet? Does the Janet compiler currently have a mechanism for issuing deprecation warnings?
The compilation of Janet terms into bytecode for its abstract virtual machine provides a nice venue for peephole optimizations - small steps which recognize opportunities for optimization of individual sequences...
So, looking at os/spawn, it's under-tested in the test suite. Notably, we don't have tests for the piping example here: ```clojure (def p1 (os/spawn ["echo" "hello"] :p {:out :pipe})) (def...
So, for writing anno, I've been writing recursive file searching of a couple types, and one thing I've noticed is that os/stat doesn't detect junctions, which are the windows version...
I am wondering if its possible for janet core to gracefully handle out of memory conditions and what this would look like. Handling these conditions also opens the door for...
It helps specify version boundaries.