instanton:

The language grammer of Asymptote is very similar to C++, so I adapted the
C++ lexer code and made a new lexer for Asymptote.

  A problem with starting from the C++ lexer is that it contains
several pieces of weirdness that are not applicable to most languages.
lexer.cpp.allow.dollars is there because allowing '$' in identifiers
is a non-standard extension to the C/C++ languages. SCE_C_UUID is for
various forms of IDL which use UUIDs. There is regular expression
support for JavaScript. None of these should be present if your target
language doesn't need them. Its unlikely it uses verbatim strings
(from C#) either.

  Neil
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to