unstaged changes
This commit is contained in:
parent
7a907e2a3a
commit
981ebf5ca5
@ -111,6 +111,8 @@ class HyASTCompiler(object):
|
||||
def compile_print_expression(self, expr):
|
||||
expr.pop(0) # print
|
||||
return ast.Print(
|
||||
lineno=expr.start_line,
|
||||
col_offset=expr.start_column,
|
||||
dest=None,
|
||||
values=[self.compile(x) for x in expr],
|
||||
nl=True)
|
||||
|
@ -37,10 +37,10 @@
|
||||
|
||||
|
||||
(post-route "/format/<language>" [language]
|
||||
(highlight
|
||||
(get request.form "code")
|
||||
(get lexers language)
|
||||
(HtmlFormatter)))
|
||||
(highlight
|
||||
(get request.form "code")
|
||||
(get lexers language)
|
||||
(HtmlFormatter)))
|
||||
|
||||
|
||||
(post-route "/hy2py" [] (hy-to-py (get request.form "code")))
|
||||
|
@ -1,3 +1,4 @@
|
||||
coffeescript
|
||||
node-uglify
|
||||
node-less
|
||||
cowsay
|
||||
|
Loading…
x
Reference in New Issue
Block a user