Skip to content

Instantly share code, notes, and snippets.

@tripped
Created December 1, 2012 01:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tripped/4180068 to your computer and use it in GitHub Desktop.
Save tripped/4180068 to your computer and use it in GitHub Desktop.
The horror, the horror
lambda s: \
(lambda (str,terminator) = (lambda x =
(lambda g: (lambda f: g(lambda arg: f(f)(arg))) (lambda f: g(lambda arg: f(f)(arg))))
(lambda f: lambda src:
(lambda c = next(src):
[c] if (c == 1 or c == 2) else [c] + f(src))())(s):
(('String', x[:len(x)-1]), x[len(x)-1]))():
('19 02', [str], 'load "#a"') if terminator == 2 else
('19 02', [str, parse_long(s)], 'load "#a" -> $#bbbbbb'))()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment