• Lucid Dreaming - Dream Views




    Results 1 to 17 of 17

    Hybrid View

    1. #1
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935

      Know a good syntax highlighter?

      Does anyone know a good text editor with an easy to understand grammar? I'd like to write one for the script engine that my company uses, but so far the ones that I've seen have impossibly hard to understand grammars of XML based crap. So far I've tried Code::Blocks, Jedit and gEdit. It also needs to be cross platform.

    2. #2
      Rational Spiritualist DrunkenArse's Avatar
      Join Date
      May 2009
      Gender
      Location
      Da Aina
      Posts
      2,941
      Likes
      1092
      I used SciTE for a while. It uses plain text for configuration so you might like it since you don't like XML. I never wrote a syntax highlighter with it but I hacked the C++ one into a javascript one and it wasn't that bad. That was years ago though so I might not be able to help you much.

      On the whole though, I think that it's usable but sucks. Quit worrying and learn to love the XML. I hope I don't get an infraction for trolling for that last sentence
      Previously PhilosopherStoned

    3. #3
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935
      I love XML, I mean it's no JSON, it's just the way that they design the XML. You can't make a grammar in XML, you can only define keywords and such.

      Oh, SciTE uses SCIntilla. Uhg

    4. #4
      Banned
      Join Date
      May 2007
      LD Count
      Loads
      Gender
      Location
      Digital Forest.
      Posts
      6,864
      Likes
      386
      NotePad++ is effing amazing.

    5. #5
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935
      That's also got a Scintilla backend and uses the Windows API.

    6. #6
      FBI agent Ynot's Avatar
      Join Date
      Oct 2005
      Gender
      Location
      Southend, Essex
      Posts
      4,337
      Likes
      14
      Vim
      Extensible syntax highlighting with a fairly easy to follow format

      Here's the documentation on writing custom synatx highlighting files
      http://vimdoc.sourceforge.net/htmldoc/usr_44.html

      Also, here's the standard C & C++ syntax files

      c.vim
      Spoiler for c.vim:


      cpp.vim
      Spoiler for cpp.vim:
      (\_ _/)
      (='.'=)
      (")_(")

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •