Build | Linux | Windows | Coverity |
---|---|---|---|
status |
This is the NOBDW version of Joy1. Joy is a decent language and needs a ditto presentation. The original version can be seen here.
Some changes were done that make ~the build environment~ me happy. One new thing is a portable makefile, following this advice. There is something different in these sources compared to the ones that can be downloaded from the archived original and that is the comments at the start of main.c and of interp.c. Manfred von Thun really wanted those comments in main.c, but the newsgroup did not allow attachments, so it was never published as such. As for the comments in interp.c, I added them because I like some version history. It proves that the language and the implementation was not done over night. In fact, according to this interview the implementation in C was started in 1995.
mkdir build
cd build
cmake ..
cmake --build .
cp ../lib/usrlib.joy ~
mkdir ~/usrlib
cp ../lib/* ~/usrlib
Then manually change the path to inilib.joy in ~/usrlib.joy from "../lib" to "usrlib".
cmake --build . --config Release
copy Release\joy.exe
copy ..\lib\usrlib.joy %HOMEPATH%
mkdir %HOMEPATH%\usrlib
copy ..\lib\*.* %HOMEPATH%\usrlib
Then manually change the path to inilib.joy in %HOMEPATH%\usrlib.joy from "../lib" to "usrlib".
joy -h
gives an overview of available options.
cd ../test2
for i in *.joy
do
../build/joy $i >$i.out
done
grep -l false *.out
There are some false positives. The test files assume that usrlib.joy was loaded successfully.
Implementation | Dependencies |
---|---|
42minjoy | |
joy0 | |
joy1 | BDW garbage collector |
Foy | BDW garbage collector |
Moy | BDW garbage collector and Lex & Yacc |
Documentation |
---|
Legacy Docs User Manual Comparison (PDF) Maintenance Manual (PDF)