Giter Site home page Giter Site logo

"\\" breaks syntax coloring about ccw HOT 8 CLOSED

ccw-ide avatar ccw-ide commented on August 18, 2024
"\\" breaks syntax coloring

from ccw.

Comments (8)

laurentpetit avatar laurentpetit commented on August 18, 2024

Comment #1 originally posted by laurentpetit on 2009-10-14T21:33:32.000Z:

What was the reason why the rules based editor was abandoned?

from ccw.

laurentpetit avatar laurentpetit commented on August 18, 2024

Comment #2 originally posted by laurentpetit on 2009-10-14T21:58:08.000Z:

Several reasons :

1/ I wanted to use antlr (at that time), because:

  • I already had written the antlr grammar for the lexical stuff
  • I also had an embryonic set of classes for plugging antlr (but in the final run
    it was almost entirely rewritten)
  • I wanted to continue learning antlr (we're using antlr at work, but not directly
    me), and had in mind to use antlr to do the static parsing of the source code (the
    syntax stuff) => for being able to preserve comments, the exact way things are
    written by the user (no reader macro transformation), etc.

2/ I was annoyed to have to write/maintain rules based stuff for syntax coloring, and
another grammar description for the other stuff => the antlr way had the advantage of
being able to share the lexer part

3/ I wanted to be able to do some syntax coloring variations based not only on
lexicographic tokens, but also some syntax (such as the rainbow parens), and I had
the feeling doing this with rules based stuff may not be the right way (if feasible
at all)

I may have been wrong, I'm pretty sure you'll allow me to see where my feelings were
right or wrong, thanks in advance, laurent

from ccw.

laurentpetit avatar laurentpetit commented on August 18, 2024

Comment #3 originally posted by laurentpetit on 2009-10-14T21:59:33.000Z:

An important point to note:

Christophe Grand is working on a pure clojure parser library, (named parsley,
available on github), which will have the interesting property of allowing
incremental parsing.

I intend in the middle run to use this for ccw.

from ccw.

laurentpetit avatar laurentpetit commented on August 18, 2024

Comment #4 originally posted by laurentpetit on 2009-10-15T21:12:47.000Z:

Thanks for extensive answer. I was just curious about the history of these to
approaches. The parsley library sounds interesting as well.

from ccw.

laurentpetit avatar laurentpetit commented on August 18, 2024

Comment #5 originally posted by laurentpetit on 2009-11-01T15:44:06.000Z:

related to issue # 10

from ccw.

laurentpetit avatar laurentpetit commented on August 18, 2024

Comment #6 originally posted by laurentpetit on 2009-11-17T19:38:38.000Z:

<empty>

from ccw.

laurentpetit avatar laurentpetit commented on August 18, 2024

Comment #7 originally posted by laurentpetit on 2009-11-17T20:32:31.000Z:

<empty>

from ccw.

laurentpetit avatar laurentpetit commented on August 18, 2024

Comment #8 originally posted by laurentpetit on 2009-11-27T22:41:52.000Z:

<empty>

from ccw.

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.