shnarazk / tree-sitter-bqn Goto Github PK
View Code? Open in Web Editor NEWBQN grammar for tree-sitter
License: Mozilla Public License 2.0
BQN grammar for tree-sitter
License: Mozilla Public License 2.0
And /'\\u[0-9a-fA-F]{4}'/
is invalid as c character maybe.
Unresolved conflict for symbol sequence:
'(' atom • '(' …
Possible interpretations:
1: '(' (subExpr atom • Derv '↩' subExpr)
2: '(' (subExpr atom • Derv '↩')
3: '(' (subject atom) • '(' …
Possible resolutions:
1: Specify a higher precedence in `subExpr` than in the other rules.
2: Specify a higher precedence in `subject` than in the other rules.
3: Specify a left or right associativity in `subject`
4: Add a conflict for these rules: `subject`, `subExpr`
But it could be ignorable because it results from invalid syntax at that time.
Like expr "?" stmt+
Unresolved conflict for symbol sequence:
symbol_s • '⇐' …
Possible interpretations:
1: (NAME symbol_s) • '⇐' …
2: (atom symbol_s) • '⇐' …
Possible resolutions:
1: Specify a higher precedence in `atom` than in the other rules.
2: Specify a higher precedence in `NAME` than in the other rules.
3: Add a conflict for these rules: `atom`, `NAME`
Changing From
EXPORT: $ => seq(optional($.LHS_ELT), '⇐'),
to
EXPORT: $ => seq(optional($.atom), '⇐'),
works. LHS
and atom
or arg
would be in conflict.
tree-sitter-bqn/queries/textobjects.scm
Line 34 in 47754e8
But its 'body' is empty.
For editors which support code-folding...
Line 190 in a160540
It prevents combinational explosion.
Hey, I can't reproduce now! 🤷
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.