init upload
This commit is contained in:
@@ -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
|
||||||
@@ -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.
|
||||||
Binary file not shown.
Reference in New Issue
Block a user