Giter Site home page Giter Site logo

Comments (5)

DavidHVernon avatar DavidHVernon commented on July 18, 2024 1

Thank you for that, but the real issue is that I was reading it in the grocery store checkout line :)

from grmtools.

DavidHVernon avatar DavidHVernon commented on July 18, 2024 1

Hey all. Thanks for the help here. Life has gotten in between me and Rust lately, but I've got my head around this now and I suppose we can close the issue.

from grmtools.

ratmice avatar ratmice commented on July 18, 2024

The example in the repo that uses this is the lrpar/examples/start_states:

https://github.com/softdevteam/grmtools/blob/master/lrpar/examples/start_states/src/comment.l

When the left hand side matches the current state of the lexer (which starts out in the INITIAL state)
it tries to apply the regex, if that then matches the state operation on the right hand side is applied, modifying the current state and a token is produced.

from grmtools.

DavidHVernon avatar DavidHVernon commented on July 18, 2024

Thank you for the clarification. I'm not quite sure that I follow, but I will give it some more thought before I ask follow-on questions.

from grmtools.

ratmice avatar ratmice commented on July 18, 2024

I tried to update that hopefully making it a bit clearer.

from grmtools.

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.