Skip to content

Wodan58/42minjoy

Repository files navigation

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.

Installation

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