Comments (5)
I'm definitely conceptually interested in this (I too, like indentation based grammars, and hate the hack in between my lexer and parser). Are you interested in working on implementing this?
from rply.
I would if I had much of a clue what I was doing. :) I only have a rough grasp of parsers (still in the "fake it" stage) and the specifically mathematical bits tend to leave me behind - I was webcrawling to see if anyone had any more elegant solutions to the problem when I found the paper.
from rply.
I'm also not really good with the academic papers, most of the code here is
transcribed from the upstream ply.
On Wed Nov 12 2014 at 7:13:46 PM Thomas Winwood [email protected]
wrote:
I would if I had much of a clue what I was doing. :) I only have a rough
grasp of parsers (still in the "fake it" stage) and the specifically
mathematical bits tend to leave me behind - I was webcrawling to see if
anyone had any more elegant solutions to the problem when I found the paper.—
Reply to this email directly or view it on GitHub
#37 (comment).
from rply.
I, too, am resorting to some ugly hacking of tokens in order to get my rply-based grammars to recognize indentation as scope changes. More complete support for indentation-sensitive grammar would be an incredibly nice feature to include. (My esolang, unlike Python, doesn't use colons to indicate a scope increase… nor braces. Only tab-based indentation.)
from rply.
This would be a nicde addition to rply
from rply.
Related Issues (20)
- Add support for "|" inside productions HOT 5
- fix latest build error HOT 1
- How to read the commands for all lines?
- Any plan to bump the version? HOT 8
- meaning of "Production 'xxx' is not reachable"? HOT 1
- Equivalent of `nonassoc` precedence HOT 4
- How would I separate statements? HOT 13
- Print AST for debugging purposes HOT 1
- An Easy Way to Print Shift/Reduce Conflicts and Corresponding Rules HOT 2
- Parsing functions with multiple arguments HOT 2
- Recursion in parser rules
- Implicit multiplication parsing issues HOT 2
- Getting KeyError: 'var_value' HOT 1
- How can i suppress warning? HOT 1
- No module named 'rply' after installation HOT 1
- I couldn't find a way of quantification in definition for the parser generator HOT 1
- Chaining multiple functions HOT 1
- What is the $end token? HOT 2
- translation failure with rpython in default branch of pypy but success with py3.6 branch
- Link redirection to empty pages in the documentation
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 rply.