HomePhabricator

Implementation of PhutilLexer for Python

Description

Implementation of PhutilLexer for Python

Summary: This appears to be ~1.5-2.0x faster than pygments on my machine, which isn't as good as I was hoping for but will help. (This is ~330 ms for a 4400-line file I chose at random.)

Test Plan: Loaded a Python paste and saw highlights that approximately (or maybe exactly) match the pygments version.

Reviewers: Blessed Reviewers, epriestley

Reviewed By: Blessed Reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9370

Details

Provenance
sophiebitsAuthored on
epriestleyCommitted on Jun 5 2014, 6:39 PM
epriestleyPushed on Jun 5 2014, 6:42 PM
Reviewer
Blessed Reviewers
Differential Revision
D9370: Implementation of PhutilLexer for Python
Parents
rPHU120a050b9251: Allow triple backticks to be preceded by whitespace.
Branches
Unknown
Tags
Unknown

Event Timeline