Arc Forumnew | comments | leaders | submitlogin
Bin from arc
5 points by highCs 3309 days ago | 2 comments
Hi,

Using arc, I'm trying to make an executable like explained in this post: http://arclanguage.org/item?id=10157

Got an exe, but it says:

_disp: unbound identifier

ac.scm:1190:0: arc-eval

I've tried to mess with the namespace without success. Any idea?



2 points by akkartik 3307 days ago | link

Wow, that is from before the racket days. Were you trying it with mzc or racket? Were you trying it with arc 3.1? I wonder if the original post was with an earlier version..

-----

4 points by highCs 3307 days ago | link

Yup it's with top-of-tree Anarki on github using racket downloaded this weekend (70Mb install) under windows 8. Oh by the way, arc/anarki doesnt seems to run with "Racket minimal" (5Mb install).

I've used both mzc (from racket) and raco.exe, same error message. (I've tried to run create-embedding-executable from repl without success because I've not figured out how to call that correctly.)

Racket/Arc think the symbol is not bound - the symbol being the first symbol in arc.arc coming from scheme (xref disp). It's yet-another error due to namespace+eval I think.

I think it almost works. It creates an exe and calls everything. There is just that namespace thing to fix - hopefully nothing bad gonna happen after that. I've not figured out how to solve this though. Tried many combinations of current-namespace-pass-to-eval...

-----