Get 1984/lycklama to compile
To get it to compile we have to pass to the compiler -include unistd.h. To get it to compile without warnings we had to add -Wno-parentheses to the compiler invocation. Updated the README to include an example invocation (using the program source itself) as the old way no longer works (typing in long lines directly). Removed some comments that turn out to not be true (it does not need a K&R compiler for instance).
This commit is contained in:
1 parent
c7ab84305a
commit
e8eaf9ebd9
4 files changed
+22
-19
No files matched your search
+12
-12
@@ -1,16 +1,16 @@
|
||||
#define o define
|
||||
#o ___o write
|
||||
#o ooo (unsigned)
|
||||
#o o_o_ 1
|
||||
#o _o_ char
|
||||
#o _oo goto
|
||||
#o _oo_ read
|
||||
#o o_o for
|
||||
#o o_ main
|
||||
#o o__ if
|
||||
#o oo_ 0
|
||||
#o _o(_,__,___)(void)___o(_,__,ooo(___))
|
||||
#o __o (o_o_<<((o_o_<<(o_o_<<o_o_))+(o_o_<<o_o_)))+(o_o_<<(o_o_<<(o_o_<<o_o_)))
|
||||
#define ___o write
|
||||
#define ooo (unsigned)
|
||||
#define o_o_ 1
|
||||
#define _o_ char
|
||||
#define _oo goto
|
||||
#define _oo_ read
|
||||
#define o_o for
|
||||
#define o_ main
|
||||
#define o__ if
|
||||
#define oo_ 0
|
||||
#define _o(_,__,___)(void)___o(_,__,ooo(___))
|
||||
#define __o (o_o_<<((o_o_<<(o_o_<<o_o_))+(o_o_<<o_o_)))+(o_o_<<(o_o_<<(o_o_<<o_o_)))
|
||||
o_(){_o_ _=oo_,__,___,____[__o];_oo ______;_____:___=__o-o_o_; _______:
|
||||
_o(o_o_,____,__=(_-o_o_<___?_-o_o_:___));o_o(;__;_o(o_o_,"\b",o_o_),__--);
|
||||
_o(o_o_," ",o_o_);o__(--___)_oo _______;_o(o_o_,"\n",o_o_);______:o__(_=_oo_(
|
||||
|
||||
Reference in new issue
Block a user