Git Product home page Git Product logo

Comments (3)

haasn avatar haasn commented on June 5, 2024

A few issues:

  • The first path of functionexpression should literally be “fullexpression except for literal”. That's what the - operator in EBNF does.
  • stringcharacter is wrong, it should be “all characters except backslash and quotes”, and the alternatives should be a literal , that is, two backslashes, or a literal ", that is, a backslash followed by a quote.
  • Inside namestart, replace '' with " (a double quote, not two single quotes)

It sounds like your program uses a further variant of EBNF, but not the official, correct version.

Either way, I need to re-do the EBNF from scratch sooner or later because the whitespace is a bit wonky at the moment which can lead to some unexpected results. (I also just commited a change)

from -g-pl.

graydude avatar graydude commented on June 5, 2024

The first path of functionexpression should literally be “fullexpression except for literal”. That's what the - operator in EBNF does.

Yeah, I know. The script didn't understand that. I may re-do it and just replace fullexpression - literal by tierlist, functionapplication, functioncreation, block, etc.

stringcharacter is wrong, it should be “all characters except backslash and quotes”, and the alternatives should be a literal , that is, two backslashes, or a literal ", that is, a backslash followed by a quote.

Thanks, I couldn't quite make out what that was supposed to be. There were some escaping issues.

stringcharacter is wrong, it should be “all characters except backslash and quotes”, and the alternatives should be a literal , that is, two backslashes, or a literal ", that is, a backslash followed by a quote.

Also some escaping issues here.

from -g-pl.

haasn avatar haasn commented on June 5, 2024

Yeah, courtesy of github apparently. Good thing I wrote it out in words.

from -g-pl.

Related Issues (17)

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.