Files
janet4dos/README.md
T

25 lines
776 B
Markdown
Raw Normal View History

2026-04-21 20:59:10 +03:00
# Janet4DOS
This is a port of [Janet](https://janet-lang.org) programming language to x86 DOS systems. Currently ported version is 1.41.2.
## Functionality missing from the original
* Multithreading
* Networking
* Some mathematical functions (`math/erf`, `math/erfc`, `math/gamma`, `math/log-gamma`, `math/nextafter`)
* Secure RNG source (`os/cryptorand`)
* Full terminal editing features (you can compile with them, but the REPL will crash often)
## Building
1. Install the DJGPP cross-compiler suite.
2. Edit the `CC` variable in the `Makefile` pointing to your `gcc` binary from DJGPP.
3. Run `make`.
4. Copy the contents of `bin` directory (`janet.exe` and `CWSDPMI.EXE`) to your DOS system.
## Credits
Original copyright by Calvin Rose et al.
Ported by Luxferre.