init upload

This commit is contained in:
Luxferre
2026-04-21 20:59:10 +03:00
commit d346396ffd
6 changed files with 61085 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
CC := i586-pc-msdosdjgpp-gcc-12.2.0
all:
$(CC) -O2 -static -s -I. janet.c shell.c -o bin/janet.exe
clean:
rm bin/janet.exe
+24
View File
@@ -0,0 +1,24 @@
# 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.
BIN
View File
Binary file not shown.
+57325
View File
File diff suppressed because it is too large Load Diff
+2460
View File
File diff suppressed because it is too large Load Diff
+1269
View File
File diff suppressed because it is too large Load Diff