Comments (2)
Hey there,
Thanks for the bug report. Sorry I haven't replied yet -- I'm a bit strapped for time this week. Recently, I ironed out most of the compatibility with ruby 1.9 by restructuring the StringStream class a bit. I'm pretty sure that the error indicates that I haven't made corresponding changes in the InteractiveStream class that the lexer interpreter shell uses. Unfortunately, this feature isn't covered particularly well in the functional testing.
I should have free time on Thursday evening or Friday to take a look through the code and fix any bugs.
With regard to the lexer warnings, do you get those when you run with ruby 1.8.7 (if you have it) too? I had that problem in the past, but I corrected it. I'll have to try it out some of my grammar delegation tests directly with 1.9.1 and trace out how the files are being loaded. There may be a change in the semantics of autoload I wasn't aware of or something else of that nature.
If you have any additional info, or if you want to share your grammars, feel free to let me know. I'll get back to you shortly.
Thanks,
Kyle
from antlr3.
That's a small hobby project and isn't anything critical, so delays are absolutely fine. I first tried to fix that by myself, but as I'm new to parsers and ANTLR internals a bit scary, so I haven't succeeded...
Also, I just determined that the bug isn't triggered by delegation, it is much less specific: this (very basic) grammar causes it as well: http://gist.github.com/636268
from antlr3.
Related Issues (20)
- DOT Tree Generation throws exception HOT 3
- Patch (v 1.8.11) for cygwin causes issues on (some) non-cygwin envs HOT 1
- Module Wrapper HOT 2
- Generated TreeParser seems to have wrong qualified base class HOT 1
- How to access the following[] tokens from state? HOT 1
- Tree Parser documentation is empty
- rake antlr doesn't work. it depends on missing 'isolate/installer' HOT 1
- Template output example
- Test rig failure
- bug in CommonTreeNodeStream
- License missing from gemspec HOT 2
- Exception when run "antlr4ruby" in Mac HOT 4
- Composite Grammar HOT 1
- Passing options to imports? HOT 1
- Importing Grammar causes Warning
- Contact info
- Ruby 1.9.1 + antlr3 1.7.5 - mismatched character "+"; expecting "+"? HOT 6
- Does not work on Rubinius HOT 7
- FreeBSD does not define SOL_TCP, and so cannot remotely debug grammars HOT 2
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 antlr3.