Comments (5)
This is great. I confirm this fixes the separate grammars. Thanks.
from speedy-antlr-tool.
It seems this had been mentioned before in Issue #2, but I don't see a resolution, but somehow the error went away. Maybe some manual renaming of generated filenames were done?
from speedy-antlr-tool.
Good point.
This project was motivated by the systemrdl-compiler project, where I combined the lexer & parser in a single grammar file. It shouldn't be too difficult to extend support for this to support grammars that are split across files.
from speedy-antlr-tool.
On this same note. It would be great if you could support lexer only grammars as well. I have one that I just use ANTLR4 lexer only grammar.
from speedy-antlr-tool.
Just published v1.1.0.
This adds support for grammars that are split into separate lexer/parser files. See example: https://github.com/amykyta3/speedy-antlr-example/blob/master/src/spam/parser/generate_parsers_split.sh
Regarding the lexer-only request, I have opened a separate issue here: #6
from speedy-antlr-tool.
Related Issues (14)
- Implicit token error when parsing PlSql grammer
- Error in sa_*_translator.cpp(536): error C2039 when using ANTLR labled rules HOT 11
- tree.parser attribute is None HOT 2
- Multiple issues when applying on a complex antlr file HOT 7
- Compilation failure with ANTLR 4.10 HOT 4
- Include option for `#undef` for Windows HOT 2
- tried java8parser but build fails HOT 2
- some rule ctx missing start/stop tokens HOT 2
- Provide access to hidden tokens in a stream HOT 2
- Add support for lexer-only grammars
- Fatal Error C1061 on parsing sa_*_cpp_parser.cpp file HOT 5
- ANTLR with Java backend seems to be faster than CPP! HOT 6
- Compiler error when buiding cpp parser backaend HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from speedy-antlr-tool.