Re^2: Examples or tutorials for Perl grammars?
by karlgoethebier (Abbot) on Jul 09, 2021 at 09:05 UTC
|
«… I did this before...»
Any example available for free? No kidding. Best regards, Karl
BTW, I wonder why someone jumps to the conclusion to build an SQLish language. Isn’t SQL bad enough? The world mapped to index cards 🤪
«The Crux of the Biscuit is the Apostrophe»
| [reply] |
|
| [reply] |
|
| [reply] |
|
| [reply] |
|
Excuse my ignorance, but is there a standard for queries searching in JSON like nested structures?
| [reply] |
|
|
|
|
| [reply] |
Re^2: Examples or tutorials for Perl grammars?
by LittleJack (Beadle) on Jul 09, 2021 at 21:21 UTC
|
| [reply] |
|
Abstract Syntax Tree. That's the structure parsers usually return (but they don't have to, see e.g. my Marpa Enhanced Calculator where the parser directly calculates the expressions without actually building the tree).
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
| [reply] [d/l] |
|
| [reply] [d/l] |
Re^2: Examples or tutorials for Perl grammars?
by Anonymous Monk on Jul 09, 2021 at 21:18 UTC
|
Thanks for that, although it's kind ot taken the question off on a tangent.
It's not a database language or directly related to SQL. That was just an example.
| [reply] |
|
| [reply] |
|
| [reply] |