![]() ![]() ( let ]Ī REPL is launched when the janet binary is invoked with no arguments. ( when ( and k ( not= k i) ( not= k j) ( not= i j)) ( def tab def solutions def len ( length s)) ( defn sum3 "Solve the 3SUM problem in O(n^2) time." Add to a project with just janet.c and janet.h.Export your projects to standalone executables with a companion build tool, jpm.500+ functions and macros in the core library.Parsing Expression Grammars built in to the core library.Direct interop with C via abstract types and C functions.Mutable and immutable strings (buffer/string).Mutable and immutable hashtables (table/struct).Mutable and immutable arrays (array/tuple).First class green threads (continuations).Builtin support for threads, networking, and an event loop. ![]() Minimal setup - one binary and you are good to go!.Such as threading, networking, an event loop, subprocess handling, regex-like library called PEG, and more. While Janet is embeddable, it comes with a bit more out of the box than many other such easily embeddable languages Janet can be easily ported to new platforms. The few features that are not standard C (dynamic library loading, compiler specific optimizations),Īre fairly straightforward. Implemented mostly in standard C99, Janet runs on Windows, Linux and macOS. Janet also can be used for rapid prototyping, dynamic systems, and other domains Janet makes a good system scripting language, or a language to embed in other programs.
0 Comments
Leave a Reply. |