Closed anderskaplan closed 1 year ago
@anderskaplan, good "catch". And what do you think about removing this section from scheme.py
then:
if __name__ == '__main__':
with Scheme() as renderer:
prog = ["(define x (* 2 21))",
"x"]
print(renderer.render(Program(prog)))
? I think for consistency with other renderers, removing it wouldn't be bad.
@anderskaplan, good "catch". And what do you think about removing this section from
scheme.py
then:if __name__ == '__main__': with Scheme() as renderer: prog = ["(define x (* 2 21))", "x"] print(renderer.render(Program(prog)))
? I think for consistency with other renderers, removing it wouldn't be bad.
I agree. I'll do that!
...because it's nice with at least some test coverage.