Git Product home page Git Product logo

Comments (4)

ethercrow avatar ethercrow commented on August 22, 2024

From [email protected] on June 29, 2007 12:36:16
Other references:

from yi.

ethercrow avatar ethercrow commented on August 22, 2024

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.

ethercrow avatar ethercrow commented on August 22, 2024

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.

ethercrow avatar ethercrow commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.