没有任何数据可供显示
| 开源项目社区 | 当前位置 : |
|
| www.trustie.net/open_source_projects | 主页 > 开源项目社区 > Haxe Highlighter |
|
Haxe Highlighter
|
| 3 | 0 | 6 |
| 贡献者 | 讨论 | 代码提交 |
概述
A syntax highlighter written in Haxe that can highlight the syntax of a bunch of languages, including Haxe.
Since it's written in Haxe, JavaScript and PHP versions can be generated, and snapshots are available inside the Subversion repository.
It is lightweight: 1 file, around 200 lines of algorithm and around 300 lines of language definitions.
Adding a new language is usually a matter of adding 5-10 regular expressions, and is somewhat flexible with recursive rules (for example, it highlights PHP/CSS/JS embedded in HTML).
There are plenty of examples of the source code highlighting in action on the homepage.
The statistics are wrong because Ohloh doesn't understand Haxe.
创建时间:2014-05-06 16:20
标签:
