Homec4science

Implementation of PhutilLexer for Python

Authored by Ben Alpert <spicyjalapeno@gmail.com> on Jun 5 2014, 20:39.

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

Committed
epriestley <git@epriestley.com>Jun 5 2014, 20:39
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU120a050b9251: Allow triple backticks to be preceded by whitespace.
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU9b2f35480dc0: Implementation of PhutilLexer for Python (authored by Ben Alpert <spicyjalapeno@gmail.com>).Jun 5 2014, 20:39