Comments (4)
From [email protected] on June 29, 2007 12:36:16
Other references:
- Generalized LR Parsing in Haskell
wiki.di.uminho.pt/twiki/pub/Research/PURe/PurePublications/PUReTR041101.pdf - There and back again
portal.acm.org/citation.cfm?id=1088348.1088357 - Parsek
http://www.cs.chalmers.se/Cs/Grundutb/Kurser/afp/code/week3/Parsek.hs
from yi.
From [email protected] on July 25, 2007 18:48:36
I just pushed an incremental parser prototype.
(sketches/IncrementalParser.hs)
Please review/comment :)
from yi.
From [email protected] on July 26, 2007 19:25:41
Looks very interesting. Applicative parsers are probably easier to debug and have
the advantage that they don't require an external language, however I haven't yet
read the paper. I think the most important questions are:
-
Can we sufficiently approximate Haskell's grammar?
One tricky part are operator definitions, but I think we can handle them with a
pre-pass and when an operator definition changes we just have to invalidate the whole
file and dependent modules, so that they get re-parsed when required. -
How much overhead is needed to store intermediate results?
Haskell programs consist primarily of top-level definitions and we store the parse
tree anyways in memory, we can simply restart parsing at the current top-level
definition or where/let-definition. That should be pretty low overhead.
Good work! I like the light-weight/K.I.S.S. approach.
from yi.
From [email protected] on April 11, 2008 10:23:39
- syntax-aware highlighting is now supported (see cleverHaskellMode)
- syntax-dependent functions can be added to the Mode and called with "withSyntax"
from yi.
Related Issues (20)
- yi does not insert a newline on save HOT 3
- How do I inter ex mode with the vim keybinding?
- Feature Request: comint-mode (or similar)
- Build error on HOT 1
- Smaller Debian/Ubuntu package? HOT 3
- Is the project still under development HOT 16
- Yi.CompletionTree
- Do you use it ?
- yi as an integrated tidal enviornment
- Using pandoc parsers as a prototype for syntax highlighting
- Error when building example configurations with cabal
- `yi-core` fails to build with GHC 7.10
- License clarification HOT 5
- Test suite no longer builds with hspec >= 2.8
- yi-core fails to build with GHC 9.0 (Stackage lts-19) HOT 5
- Dead links in the blog HOT 3
- Better Wayland support HOT 2
- Conflict file names on case-insensitive file systems HOT 4
- Yi svg icon HOT 1
- Feedback requested: what would be the impact of deleting `System.PosixCompat.User` from `unix-compat`? HOT 4
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 yi.