Skip to content

Already existing library for C++ parsing #33

Closed

Description

@mingodad

Hello !
Just in case you don't know this project https://github.com/panda3d/interrogate is library for C++ parsing and they also use a lalr(1) grammar but without need backtracking and without unresolved conflicts https://github.com/panda3d/interrogate/blob/main/src/cppparser/cppBison.yxx .

You can see/play with it's grammar here https://mingodad.github.io/parsertl-playground/playground/ (select "Panda3d cppparser (partially working)" from examples then click Parse to see a parse tree for the content in Input source).

Activity

  1. satya-das commented on Oct 16, 2024

    @satya-das
    Owner

    No, I didn't know about it. Does it parse without preprocessing and retains even preprocessors and comments in the AST?

  2. Repository owner locked and limited conversation to collaborators on Oct 21, 2024
  3. converted this issue into a discussion #34 on Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions