Category:Janet
Janet
This programming language may be used to instruct a computer to perform a task.
Listed below are all of the tasks on Rosetta Code which have been solved using Janet.
This programming language may be used to instruct a computer to perform a task.
See Also: |
|
---|
Janet is a lisp dialect meant for small systems and embedded usage. There is no regexp built into the language, instead there is PEG, Parsing expression grammar.
From the website https://janet-lang.org
Janet is a functional and imperative programming language. It runs on Windows, Linux, macOS, BSDs, and should run on other systems with some porting. The entire language (core library, interpreter, compiler, assembler, PEG) is less than 1MB. You can also add Janet scripting to an application by embedding a single C source file and a single header.
Features
Minimal setup - one binary and you are good to go! Builtin support for threads, networking, and an event loop First class closures Garbage collection First class green threads (continuations) Mutable and immutable arrays (array/tuple) Mutable and immutable hashtables (table/struct) Mutable and immutable strings (buffer/string) Macros Tail call optimization Direct interop with C via abstract types and C functions Dynamically load C libraries Lexical scoping REPL and interactive debugger Parsing Expression Grammars built in to the core library 500+ functions and macros in the core library Export your projects to standalone executables with a companion build tool, jpm Add to a project with just janet.c and janet.h
Pages in category "Janet"
The following 22 pages are in this category, out of 22 total.