Reputation: 121
I am a total beginner in programming and for school i have to make a little SableCC project. However im not sure how to use SableCC properly.
I have downloaded it from sablecc.org and i did what was said in the readme to install it.
So after installing with the java -jar lib/sablecc.jar
command the console tells me how the usage works,
like for example
sablecc --license
or to use
sablecc [-d destination]
to where i want sablecc to work (i guess).
However, when i use anything from this list it just says:
Sablecc is not recognized as an internal or external command
What have i done wrong? Thanks!
Upvotes: 0
Views: 858
Reputation: 1
I followed also the instruction of [README.html][1] for ANT and it worked fine for me.
edit: I put some commands here in case the link is unavailable some time.
After downloading, follow the next steps:
This is it.
If you have Ant installed on your system, you can install SableCC with the command:
ant -Dinstall.dir=destination install
Upvotes: 0