Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme doesn't have enough detail to get started #8

Open
lorin opened this issue Oct 22, 2017 · 2 comments
Open

Readme doesn't have enough detail to get started #8

lorin opened this issue Oct 22, 2017 · 2 comments

Comments

@lorin
Copy link

lorin commented Oct 22, 2017

It took me a while to get up and running with J-Bob using the Dracula package. In particular:

  1. I didn't realize that I had to install ACL2 separately.
  2. I couldn't get J-Bob to load by typing commands in the REPL.

When trying to use the "include-book" command in the Dr. Racket REPL, I'd get an error:

> (include-book "j-bob-lang" :dir :teachpacks)
 Library/Racket/6.10.1/pkgs/dracula/lang/do-check.rkt:92:34: rename-below: defined outside of begin-below in: here

Eventually, I figured out how to do it, and I even wrote up a blog post. I recommend adding more detail to the README to make it easier on new users. I'm happy to submit a PR updating the README with the additional details.

@RickMoynihan
Copy link

Totally agree that getting j-bob installed could be made much easier with better instructions.

@lorin Thanks for posting here and your blog post it really helped me get going. One small thing that tripped me up with your instructions was finding the binary downloads on the ACL2 site.

For future travellers, I downloaded the binaries from here: http://acl2s.ccs.neu.edu/acl2s/src/acl2/

@anthonyquizon
Copy link

This seemed to work for me (not using drracket):
raco pkg install dracula

#lang dracula
(include-book "j-bob-lang" :dir :teachpacks) 
(include-book "j-bob" :dir :teachpacks) 

;;first example using J-Bob
(J-bob/step (prelude)
    '(car (cons 'ham '(cheese))) 
    '((() (car/cons 'ham '(cheese)))))  

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants