Hello I need some help regarding building a simple parse tree with antlr and java .
I have tried to work with powershell to compile and run the grammar file ( which is the
pascal.g4 file ) and I was hoping to generate some java files out of it , however at times when I tried to
run it using the command " .\antlr.bat -package pdl -o pdl .\pascal.g4 " I get a message on the powershell
stating " The system cannot find the file specified " .
I think the command I typed in might be wrong but anyway I have got the grammar file and I have got the
.bat files ( grun.bat , java.bat & javac.bat ) and the antlr-4.5-complete.jar file ,
I think these are basically all the files you need to build the parse tree .
As for the folder location where all these files are located is C:\Users\Lenovo\Documents\test2
I have looked at some examples from others however I really now cannot go any further , can anybody please
help me out here to build this .
( I have also provided an image of all the files that are in that folder . )
Well I saw this page https://theantlrguy.atlassian.net/wiki/display/ANTLR4/Getting+Started+with+ANTLR+v4
which was talking about antlr , so I thought this would be a good place to ask a question regarding this topic .
I'm not quite sure why you'd pick a word out of a url or off the "powered by" link at the bottom of a page like that - surely it would make a lot more sense to at least start the search with "antlr"? This community is friendly and extremely helpful (the reason I post is because I've got so much from the people here, I feel I ought to give something back), and you might well get a good answer. But, we're Atlassian users, not Antlr experts (well, some of us might be both). I think you will probably get a faster and better answer if you asked in an Antlr forum
I understand, it's not obvious that a link to "help with software powering this site" is not the same as "help with what we're talking about here". People do land here from all sorts of places that use Atlassian stuff for their issue tracking and documentation. (Mojang for example, seem to be particularly guilty of pointing their users here instead of better places for help with Minecraft) It's not that we don't want to help, it's just more likely that you'll get more/better/faster help in forums that are focussed on the right thing!
It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs