[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [platform-dev] using lex/yacc files for syntax highlighting
|
Hi Henrik,
Lex/yacc is not a good choice for syntax highlighting. Syntax
highlighting requires an dynamic parser that is fault tolerant and that
can start parsing at the last known good re-parse point. You do not want
to run a full parser each time syntax coloring is needed while editing.
Chet Murphy
Modelworks Software
cmurphy@xxxxxxxxxxxxxx
http://www.modelworks.com
voice: 425 488 5686
fax: 425 488 3986
-----Original Message-----
From: platform-dev-admin@xxxxxxxxxxx
[mailto:platform-dev-admin@xxxxxxxxxxx]On Behalf Of Henrik Sorensen
Sent: Sunday, January 16, 2005 4:42 PM
To: platform-dev@xxxxxxxxxxx
Subject: [platform-dev] using lex/yacc files for syntax highlightning
please let me know if this is not the right mailinglist for hl related
questions.
I am working on a new frontend for gcc for the programming language
PL/I.
(pl1gcc.sourceforge.net)
Now that I have the lex scanner and yacc (bison) parser in a good shape,
it
would be natural to integrate this into the powerfull eclipse editor
framework.
What is the best approach for this ?
Henrik
_______________________________________________
platform-dev mailing list
platform-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-dev