Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.31 KB

README.md

File metadata and controls

29 lines (23 loc) · 1.31 KB

42minjoy

Build Linux Windows Coverity
status GitHub CI build status AppVeyor CI build status Coverity Scan Build Status

Joy from Sympas translated to C.

Changes

Adding a new builtin, e.g. getch or putch, requires modification of the program in 4 locations: standardident{}, initialise(), standardident_NAMES[], and joy(). After translating from Pascal to C with the help of p2c some corrections were done. Reading the library files twice is not needed, given the nature of the language and that is why this feature was removed. After some more changes it is now transitioning from a small version of Joy to a full version of Joy.

Installation

rm -rf build
mkdir build
cd build
CC=gcc CXX=gcc cmake -G "Unix Makefiles" ..
cmake --build .
cp joy.exe ..