Giter Site home page Giter Site logo

Comments (9)

ocharles avatar ocharles commented on September 26, 2024

I note with things like https://ocharles.org.uk/dhall-grammar.html#simpleLabel that it doesn't distinguish between things that shouldn't parse - that whole reserved block is a look-ahead that must fail, so it shouldn't show up here. This might suggest a separate grammar, like the ABNF, that can actually be read by GrammKit (or replacing the ABNF by something else).

from dhall-lang.

ocharles avatar ocharles commented on September 26, 2024

I see dundalek/GrammKit#9 discusses that exact issue, and they are working out potential improvements. It turns out the negative look ahead is shown, but the double vertical lines is a bit too subtle.

from dhall-lang.

Gabriella439 avatar Gabriella439 commented on September 26, 2024

Yeah, I think this is a good idea. An appropriate place to host this is underneath the reference subsection of the Dhall wiki:

https://github.com/dhall-lang/dhall-lang/wiki

from dhall-lang.

Gabriella439 avatar Gabriella439 commented on September 26, 2024

Actually, you don't even need to "host" it there per se. You can just have the wiki link to wherever you host it (i.e. on your site or in the dhall-js project if you prefer).

from dhall-lang.

ocharles avatar ocharles commented on September 26, 2024

It'd be nice to remove an indirection and have it directly on the wiki. I think GrammKit can generate Markdown, so I'll explore that. I will probably have to host the images externally, if it generates them, but I'm fine with that.

from dhall-lang.

ocharles avatar ocharles commented on September 26, 2024

I also wonder if it should be checked it, and versioned in parallel with changes to the ABNF file.

from dhall-lang.

Gabriella439 avatar Gabriella439 commented on September 26, 2024

Yeah, you can feel free to check it in. The place it would go is underneath the standard/ directory since it is another presentation of the standard grammar

from dhall-lang.

ocharles avatar ocharles commented on September 26, 2024

Cool, assign this to me and I'll get a PR up.

from dhall-lang.

ocharles avatar ocharles commented on September 26, 2024

I'm unlikely to get round to fixing this. Sorry all! Closing for now.

from dhall-lang.

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.