Skip to content

Instantly share code, notes, and snippets.

@eatnumber1
Created February 13, 2014 06:51
Show Gist options
  • Save eatnumber1/8970939 to your computer and use it in GitHub Desktop.
Save eatnumber1/8970939 to your computer and use it in GitHub Desktop.
#define IF if(
#define THEN )
#define BEGIN {
#define END }
#define PRINT printf
#define GROUP (
#define ENDGROUP )
#define NEXT ;
#define COUNT for (
#define WITH int
#define FROM =
#define UPTO ; i <
#define DO ; i++ )
#include <stdio.h>
int main() {
COUNT WITH i FROM 0 UPTO 10 DO BEGIN
IF i % 2 == 0 THEN BEGIN
PRINT GROUP "%d: Hello World!\n", i ENDGROUP
NEXT END
NEXT END
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment