Giter Site home page Giter Site logo

Comments (3)

ohboyohboyohboy avatar ohboyohboyohboy commented on July 21, 2024

Hey there,

I'm sorry, but the DOT Generator library is a library that I ported from the Python binding early on in this project without writing extensive test code for it. I suppose I kind of forgot about it while I was expanding the project over time, as I just reviewed that utility and found out that it was horrifically broken.

Fortunately, it's a pretty simple class, so I was able to patch it up and get it working again, at least for the purposes of the simple script you cited. I just pushed this new version (1.8.8), and I tested it against the code you gave. It should work for you now. Thanks for reporting that. Let me know if you have any questions.

from antlr3.

xxx avatar xxx commented on July 21, 2024

Thanks for the quick fix!

I can confirm the previous error is gone, but the DOT files are being generated with a syntax error - There is no name on the digraph being generated, so it's not parsing. i.e.:

digraph {

should be

digraph G {

or something.

After doing that, the graphs work fine for me.

Thanks again.

from antlr3.

xxx avatar xxx commented on July 21, 2024

Hmm, only the dotty tool complains about the lack of an ID on a graph. Everything works fine when converting to an image file, and I do see now the ID is optional per the DOT grammar. ¯(°_o)/¯

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.