adding lexer thingers
This commit is contained in:
parent
dc00027361
commit
d4ed65ff63
10
eg/yo-dawg.hy
Normal file
10
eg/yo-dawg.hy
Normal file
@ -0,0 +1,10 @@
|
||||
; vim: tabstop=2 expandtab shiftwidth=2 softtabstop=2 filetype=lisp
|
||||
; Copyright (c) Paul Tagliamonte, in sofar as any of this is at all
|
||||
; copyrightable.
|
||||
|
||||
(import ["json"])
|
||||
|
||||
(print "I'll eval s-expressions you input")
|
||||
(loop (print
|
||||
(kwapply (json.dumps
|
||||
(lex (read))) {"sort_keys" true "indent" 4})))
|
Loading…
Reference in New Issue
Block a user