TextMate-style syntax highlighting in PHP
Find a file
2021-06-29 13:54:54 -05:00
data Improvements to run command, starting on Grammar 2021-06-28 16:52:38 -05:00
lib Cleaning up a bit 2021-06-29 13:54:54 -05:00
.gitignore Beginning work on language grammars 2021-06-16 16:44:47 -05:00
composer.json Changed structure of built-in languages 2021-06-28 08:16:18 -05:00
composer.lock Changed structure of built-in languages 2021-06-28 08:16:18 -05:00
LICENSE Initial commit 2021-05-31 23:04:08 -05:00
package.json Beginning work on language grammars 2021-06-16 16:44:47 -05:00
README.md Trying to figure out structure 2021-06-25 16:53:31 -05:00
run Improvements to run command, starting on Grammar 2021-06-28 16:52:38 -05:00
yarn.lock Beginning work on language grammars 2021-06-16 16:44:47 -05:00

Lit

Lit is a multilanguage syntax highlighter written in PHP. It takes code as input and returns HTML with classes based upon tokens in the code. It is loosely based upon Atom's Highlights which is used in the Atom text editor to syntax highlight code. Atom's Highlights is in turn based upon TextMate's syntax highlighting using its concepts of scope selectors and common keywords for components of programming languages.