Add PureScript lexer by philippedev101 · Pull Request #3054 · pygments/pygments
Navigation Menu
- Notifications You must be signed in to change notification settings
- Fork 782
Conversation
Based on the Haskell lexer but adapted to match PureScript's actual syntax as defined in the compiler's CST lexer. Key differences: added keywords (ado, derive, forall, foreign), typed holes (?name), triple- quoted raw strings, Unicode operator equivalents (∀→←⇒∷), no binary or octal literals, no Template Haskell, simplified escape sequences, and a different import syntax where the import list precedes "as".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters