-
Notifications
You must be signed in to change notification settings - Fork 1
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
Unable to Build #1
Comments
Hi, @xhwhis . Thanks for the interest. I should warn you that the project is not mature enough to be used, as I'm still playing with some transformations. First you need to install ANTLR, to generate a lexer and a parser from the files ANTLRv4Lexer.g4 and ANTLRv4Parser.g4. In my machine, I achieve this by typing the following commands in the terminal:
Then you should compile all the Without some extra settings, you would probably get an error related to the Java Classpath. Something like this:
I solved this issue by adding the subfolder Now, if you try Then, you can convert a .g4 file to a format that is recognized by the tool pegparser, which is based on Parsing Expression Grammars. To convert the DOT.g4 grammar, we can type: File DOTPeg.lua is Lua file with a PEG that is a naive translation of the ANTLR grammar plus some code to perform extra transformation onto this PEG in order to make the behavior the of PEG parser more similar to the ANTLR one. So, you need to execute this Lua file. Now you should install Lua and some Lua libraries. After this, you should tyr: Probably, you will get an error about some missing library. Please, tell me when you arrive at this point, so I can give you some help related to the installation of the Lua libraries. |
I am really interested in this project. However, I'm having trouble understanding how to build it from source. Could you kindly guide me through the build process, or perhaps update the README with build instructions?
The text was updated successfully, but these errors were encountered: