Skip to content

Instantly share code, notes, and snippets.

@valpackett
Created January 5, 2013 09:58
Show Gist options
  • Save valpackett/4460804 to your computer and use it in GitHub Desktop.
Save valpackett/4460804 to your computer and use it in GitHub Desktop.
ClojureRepl
# TryClojure - REPL
import requests
while True:
d = {'expr': raw_input()}
r = requests.get('http://tryclj.com/eval.json', params=d)
if 'result' in r.json:
print(r.json['result'])
else:
print(r.json['message'])
@valpackett
Copy link
Author

Also: ClojureEval

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment