Last active
September 24, 2015 08:18
-
-
Save sli/718436 to your computer and use it in GitHub Desktop.
Fancy C dialect for prim and proper programmeurs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//#define ?? auto | |
#define cease break | |
#define upon case | |
//#define ?? char | |
#define steadfast const | |
#define abide continue | |
//#define ?? default | |
#define undertake do | |
//#define ?? double | |
#define otherwise else | |
//#define ?? enum | |
//#define ?? extern | |
//#define ?? float | |
#define as for | |
#define abscondto goto | |
#define whereupon if | |
//#define ?? int | |
//#define ?? long | |
#define chronicle register | |
#define riposte return | |
//#define ?? short | |
//#define ?? signed | |
//#define ?? sizeof | |
#define latent static | |
//#define ?? struct | |
#define using switch | |
//#define ?? typedef | |
//#define ?? union | |
//#define ?? unsigned | |
#define vacuous void | |
#define capricious volatile | |
#define whilst while | |
#include <stdio.h> | |
int main() { | |
int i = 0; | |
as (i=0;i<100;i++) { | |
whereupon (i % 2 == 0) { | |
printf("Even\n"); | |
} otherwise { | |
printf("Odd\n"); | |
} | |
} | |
whilst (i < 100) { | |
whereupon (i % 2 == 0) { | |
printf("Even\n"); | |
} otherwise { | |
printf("Odd\n"); | |
} | |
i++; | |
} | |
riposte 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment