Hey all.<br><br>I am required to periodically run a ACL2 program provided to me. Currently, I open it up in DrRacket and just hit the run button, but I was hoping there was some method of automating this process. (It's terribly slow)<br>
<br>I attempted to run the file through racket, but I get:<br><br>"default-load-handler: expected a `module' declaration for `main', found: something else in: #<path:/home/nils/Dropbox/code/SE1/PSP/main.lisp><br>
<br> === context ===<br>standard-module-name-resolver"<br><br>I attempted to use the various flags, such as -r, -u and -f, some of which give me an identical error, and others give me:<br><br>"reference to undefined identifier: in-package"<br>
<br>I attempted to also append the line "#lang ACL2" to the beginning of the file, but it did not help.<br><br>Anyone have any advice?<br><br>Thanks, Nils<br><br>Also, here is the file:<br><br>main.lisp<br>"(in-package "ACL2")<br>
<br>(include-book "psp")<br><br>(set-state-ok t)<br>(main "input/" "output/" state)"<br>