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