Comments (3)
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.
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.
Yeah, courtesy of github apparently. Good thing I wrote it out in words.
from -g-pl.
Related Issues (17)
- Multiline comments HOT 2
- OP function (aka main) HOT 5
- Allow global execution or not? HOT 10
- Repetition HOT 16
- gb2 needs a rework HOT 5
- Function call delimiter HOT 8
- Recursion HOT 1
- Thread on /g/ HOT 4
- Partial application HOT 1
- Easier conditional? HOT 3
- Array structure HOT 9
- Switch statement HOT 1
- "100% accurate" form for functions HOT 1
- Boolean HOT 3
- Finite State Machine and Lexer HOT 6
- Infix Operators vs Functions HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from -g-pl.