how to create a new lexer withour lexgen.py and all there .py file

15 views
Skip to first unread message

Patel Kalpesh

unread,
Jan 19, 2017, 4:31:51 PM1/19/17
to scintilla-interest
Hi i need help to generate lexer file

may i know how can i generate this file

please help me for this

Neil Hodgson

unread,
Jan 19, 2017, 6:04:17 PM1/19/17
to scintilla...@googlegroups.com
Patel Kalpesh:

> Hi i need help to generate lexer file

Writing a lexer is discussed in some documents linked from the main documentation page. These are probably the best:
http://www.scintilla.org/Lexer.txt
https://bitbucket.org/StarFire/scintilla-doc/downloads/Scintilla-var'aq-Tutorial.pdf

Running LexGen.py adds references to the lexer to various files. If you are working in an environment in which it is not permitted to install Python on any machine then you could read the source code of LexGen.py and its imports and perform the steps manually.

Neil

Reply all
Reply to author
Forward
0 new messages