halgari/clojure-py — Issue #23: NameError: global name 'POP_JUMP_IF_FALSE' is not defined NameError: global name 'POP_JUMP_IF_FALSE' is not defined 
Author: eigenhombre
Created: 2012-02-17 04:11:21+00:00
State: open

Just started looking at this project and got a stacktrace out of the box -- haven't had time to investigate yet.

(django-pydev-venv)mac 10:04:55 (master) > python clojure.py
Traceback (most recent call last):
File "clojure.py", line 103, in
main()
File "clojure.py", line 55, in main
requireClj("./clj/clojure/core.clj")
File "clojure.py", line 32, in requireClj
res = comp.compile(s)
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/py/clojure/lang/compiler.py", line 896, in compile
c.extend(self.compileForm(itm))
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/py/clojure/lang/compiler.py", line 807, in compileForm
return builtins[form.first()](self, form)
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/py/clojure/lang/compiler.py", line 44, in compileDef
code.extend(comp.compile(value))
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/py/clojure/lang/compiler.py", line 896, in compile
c.extend(self.compileForm(itm))
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/py/clojure/lang/compiler.py", line 807, in compileForm
return builtins[form.first()](self, form)
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/py/clojure/lang/compiler.py", line 444, in compileFNStar
code = compileFn(comp, name, form, orgform)
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/py/clojure/lang/compiler.py", line 307, in compileFn
code.extend(compileImplcitDo(comp, form.next()))
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/py/clojure/lang/compiler.py", line 407, in compileImplcitDo
code.extend(comp.compile(s.first()))
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/py/clojure/lang/compiler.py", line 896, in compile
c.extend(self.compileForm(itm))
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/py/clojure/lang/compiler.py", line 807, in compileForm
return builtins[form.first()](self, form)
File "/Users/jacobsen/Programming/Lisp/Clojure/clojure-py/py/clojure/lang/compiler.py", line 228, in compilePyIf
code.append((POP_JUMP_IF_FALSE, elseLabel))
NameError: global name 'POP_JUMP_IF_FALSE' is not defined
(django-pydev-venv)mac 10:04:59 (master) >