Resources for lexing, tokenising and parsing in python

后端 未结 8 2570
鱼传尺愫
鱼传尺愫 2020-12-04 06:41

Can people point me to resources on lexing, parsing and tokenising with Python?

I\'m doing a little hacking on an open source project (hotwire) and wanted to do a fe

8条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-04 07:24

    pygments is a source code syntax highlighter written in python. It has lexers and formatters, and may be interesting to peek at the source.

提交回复
热议问题