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
C# Example #176
Comments
cc'ing the group!
Thanks for your interesting in C# code generation. You can simply run
javacc with -CODE_GENERATOR"'org.javacc.csharp.CodeGenerator" option and
it should work. Make sure include namespace. Let me know if you still
have issues.
… Can you provide an example on how to generate C# output from jjt?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#176>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE2B3LIKPLACOX6AHGZSMOLRVW5RBANCNFSM4NZBFEHA>.
|
i tried this (version: javacc 7.0.9), but warning: -CODE_GENERATOR is bad option will be ignored ? i miss something? |
You should use javacc-8.0.0-SNAPSHOT with -CODE_GENERATOR="C#" |
i download the branch 8.0.0 source code, but not found javacc-8.0.0-SNAPSHOT, where is it? thank you; |
Yes, at the javacc-8.0.0 directory run: mvn clean install |
thank you |
The git submodule for the codegen folder on the 8.0.0 branch does not exist: https://github.com/javacc/codegenerator Is there any guidance on how to get the 8.0.0 branch to compile? Thanks in advance! |
@paulirwin the 8.0.0 branch of this JavaCC repository is a staled branch that I deleted rigth now. If you want to get the JavaCC-8 version and speciallly the C# generator, please checkout this javacc-8-csharp repository and more generally all javacc-8-* repos. |
Can you provide an example on how to generate C# output from jjt?
The text was updated successfully, but these errors were encountered: