Janet: Lightweight, Expressive, Modern Lisp
9 months ago
- #programming
- #scripting
- #embedding
- Janet is a functional and imperative programming language compatible with Windows, Linux, macOS, and BSDs.
- The entire Janet language, including core library, interpreter, compiler, assembler, and PEG, is less than 1MB.
- Janet can be embedded in applications via a single C source file and header.
- Suitable for system scripting, embedding, rapid prototyping, and dynamic systems.
- Implemented in standard C99, with easy portability to new platforms.
- Features include threading, networking, an event loop, subprocess handling, and a PEG library.
- Example code demonstrates solving the 3SUM problem in O(n^2) time.
- Janet includes a REPL for interactive programming and script execution.
- Command-line options support script execution, REPL entry, and debugging.
- Community resources include GitHub libraries, Zulip chat, and Janet Docs.