Hello

First many thanks for Pygments.
I use Asymptote (a vector graphics language):
http://asymptote.sourceforge.net/

Following Pygments documentation "Write your own lexer"
I wrote the very begining of an Asymptote lexer.
See
http://math.mad.free.fr/wordpress/?page_id=41
Two files are needed
http://math.mad.free.fr/wordpress/wp-content/uploads/vectorgraphic.py
http://math.mad.free.fr/wordpress/wp-content/uploads/_asylist.py

vectorgraphic.py is inspired from the C lexer and the long list
of function/variable names is contained in _asylist.py.

You can see examples at
http://math.mad.free.fr/depot/asysvn/lesfig1.html

What to do now to include this lexer in Pygments ?

Regards
Olivier

--

You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en.


Reply via email to