Giter Site home page Giter Site logo

Comments (8)

mike-lischke avatar mike-lischke commented on June 9, 2024 1

Everything indicates that the internal grammar representation (ATN etc.) is not up to date. Needs investigation.

from vscode-antlr4.

lublak avatar lublak commented on June 9, 2024

Another thing: apparently the parse tree is already updating itself. But not the rules behind it. So as soon as I change the input file, the tree updates. but based on the opened grammar file. If I change the grammar file, it does not update. Even if I then change the input file, it still adopts the state from before the change in the Grammar file.

from vscode-antlr4.

lublak avatar lublak commented on June 9, 2024

Example, bevor change:

grafik
grafik

Example, after change:

grafik
grafik

Example, after restarting vscode:

grafik

from vscode-antlr4.

mike-lischke avatar mike-lischke commented on June 9, 2024

I assume that after you change the grammar, you save it and start the debugging process again. You didn't mention these essential things, so I better ask.

from vscode-antlr4.

lublak avatar lublak commented on June 9, 2024

@mike-lischke Oh, right! Sorry that I gave you this information directly. But yes, I'll start the debugging process again.

from vscode-antlr4.

lublak avatar lublak commented on June 9, 2024

For further information, the other graphs are up to date:
ATN Graph
Railroad
Call Graph

from vscode-antlr4.

lublak avatar lublak commented on June 9, 2024

More information:
Breakpoints are also not working at all for me at the moment. I hardly use them personally, but maybe it will help with the problem here. I leave nothing untried!

from vscode-antlr4.

lublak avatar lublak commented on June 9, 2024

I don't know if it might be due to a vscode update. But since I reported it here, it's just that the parse tree only updates if you restart vscode completely. (Version 1.88.1, system setup)

from vscode-antlr4.

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.