Giter Site home page Giter Site logo

Comments (6)

alexrp avatar alexrp commented on July 18, 2024

Ah, turns out it should be [0-1]. That works perfectly. Is this by design?

from pegged.

alexrp avatar alexrp commented on July 18, 2024

Hm, this does seem like a bug, actually. The following fails too:

mixin(grammar("Identifier <- [a-zA-Z_] [a-zA-Z0-9_]*"));

from pegged.

PhilippeSigaud avatar PhilippeSigaud commented on July 18, 2024

It's a hijacking problem between the grammar-generated Char parser and the built-in Char. I think DMD is not very helpful with this.

Since the built-in Char is not used anymore (I changed the grammar to use Lit!("a") for 'a', I'll drop it.

from pegged.

PhilippeSigaud avatar PhilippeSigaud commented on July 18, 2024

Both examples seem to work now. I'm closing this.

from pegged.

alexrp avatar alexrp commented on July 18, 2024

Have you pushed the changes that fix this? (Which commit?)

from pegged.

PhilippeSigaud avatar PhilippeSigaud commented on July 18, 2024

On Sat, Mar 17, 2012 at 08:29, Alex Rønne Petersen
[email protected]
wrote:

I don't know exactly. I was away several days and coming back I tried
to compile your tests and they all passed. I may have done that 4-5
days ago, while committing something else.

from pegged.

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.