Giter Site home page Giter Site logo

Comments (2)

ohboyohboyohboy avatar ohboyohboyohboy commented on August 22, 2024

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.

whitequark avatar whitequark commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.