Skip to content

Instantly share code, notes, and snippets.

@gyng
Created November 30, 2013 02:47
Show Gist options
  • Save gyng/7714762 to your computer and use it in GitHub Desktop.
Save gyng/7714762 to your computer and use it in GitHub Desktop.
#define begin <%
#define End %>
#define as while
#define and ,
#define COUNTDOWN 10
#define Sub int
#define Dim int
#define cfoutput printf("%d ",
#define cfoutputted );
Sub main()
<%
Dim lol [ COUNTDOWN :> = begin 1, 2, 3, 4, 5, 7, 8, 9 and 10
%>;
Dim i = COUNTDOWN;
/* 90 stands for go nerds */
as (i --> 0) cfoutput lol <: i :>>> 1 << 1 == 0 ? 90 : lol[i - 1] >> 1 << 1 cfoutputted
callback: return 0;
End
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment