root/src/Pugs/Lexer.hs

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Rev Chgset Date Author Log Message
(edit) @21929 [21929] 8 weeks audreyt * Pugs.Lexer: Restore "\c[CHARACTER NAME]" support. Add support for …
(edit) @21790 [21790] 2 months audreyt * Pugs.Lexer: "\d123" must now be written as "\c123" according to S02 …
(edit) @21673 [21673] 2 months audreyt * Import Pugs 6.2.13.11 from Hackage into our source tree. * Highlights: …
(edit) @17047 [17047] 15 months audreyt * Final batch of HPC-inspired toplevel removals: …
(edit) @15594 [15594] 19 months audreyt * Pugs.Lexer: Parse for "has" and "constant".
(edit) @15425 [15425] 20 months audreyt * Massive Haddoc-compatibility fix to make all modules haddockable.
(edit) @15327 [15327] 20 months lwall Y -> Z, XX -> X
(edit) @15297 [15297] 20 months audreyt * Revert the previous patch; everything back to normal.
(edit) @15296 [15296] 20 months audreyt * Convert VStr from String to ByteString?, and Syn from String to ID, in …
(edit) @15242 [15242] 20 months audreyt * New "constant" scope as alis for "my" (not really constant yet)
(edit) @15230 [15230] 20 months audreyt * Pugs.Lexer: Implement the <nofat> regex so: use => 1 etc can work.
(edit) @14439 [14439] 2 years audreyt * Parse message fix: - sigilled vars are taken as an unit in …
(edit) @14422 [14422] 2 years audreyt * Pugs.Lexer: Avoid the annoying and not helpful "expecting comment" in …
(edit) @14105 [14105] 2 years audreyt r14977@T: audreyt | 2006-10-09 15:19:34 +0800 * Pugs.Lexer: Stylistic …
(edit) @14085 [14085] 2 years audreyt * Pugs.Lexer: Export ruleVerbatimIdentifier.
(edit) @14062 [14062] 2 years audreyt * Don't actually keep track of prevChar, instead keep track of the last …
(edit) @13634 [13634] 2 years audreyt * Pugs.Lexer: tryVerbatimRule now actually tries :)
(edit) @13628 [13628] 2 years audreyt * As promised, | is no longer a rule but a special form prefix.
(edit) @13612 [13612] 2 years audreyt * Minor: Give rules in Pugs.Lexer and Pugs.Parser.Literal names.
(edit) @13596 [13596] 2 years audreyt * Allow 0_1234 to mean 0d1234; disallow "\_1234" to mean "\d1234".
(edit) @13473 [13473] 2 years audreyt * Pugs.Lexer: Massive source code cleanup and warning avoidance.
(edit) @13183 [13183] 2 years audreyt * Add support for character name escapes: say "\c[LATIN CAPITAL …
(edit) @13177 [13177] 2 years audreyt * Pugs.Lexer: Allow double-right-parens to end a "parens" structure: …
(edit) @13046 [13046] 2 years gaal * Handle named parameters in Signatures. :( :$justify ) …
(edit) @12903 [12903] 2 years audreyt * 0_1 is now parsed as 0d1, not an error, as reported by dolmans++.
(edit) @12648 [12648] 2 years audreyt * Revert TimToady?++'s Lexer patch as isSpace is already Unicode-aware. * …
(edit) @12645 [12645] 2 years lwall Handle aBOMinations like the one currently in …
(edit) @12473 [12473] 2 years audreyt * Introduce Circumfix and circumfix:<\( )>. It's all gaal++'s code, I …
(edit) @12430 [12430] 2 years audreyt * Pugs.Lexer: Another 5% in parsetime shaved by sharing as much code as …
(edit) @12317 [12317] 2 years audreyt * Glorious refactoring of the Var type. Previously, Var is type synonym …
(edit) @12268 [12268] 2 years audreyt * Pugs.Lexer: "\08..." and "\09..." are treated as "\0" and then "8..." or …
(edit) @12266 [12266] 2 years audreyt * "\0" is made legal again, though "\00" "\01" etc are all still failures.
(edit) @12265 [12265] 2 years audreyt * Pugs.Lexer: "\0123" is now as dead as "\123" -- both fatal parsefails.
(edit) @12264 [12264] 2 years audreyt * Pugs.Lexer: improve the \123 warning a bit by mentioning \d123 and …
(edit) @12261 [12261] 2 years audreyt * Pugs.Lexer: "\123" is now a warning.
(edit) @12205 [12205] 2 years audreyt * "\187" form is gone; write "\d187" instead. agentzh++
(edit) @12176 [12176] 2 years audreyt * First cut at proper compile-time role mixin support, based on …
(edit) @11870 [11870] 2 years audreyt * Parse multichar closing braces correctly in quoted literals: q(( …
(edit) @10901 [10901] 2 years audreyt * wordBoundary rule for \b (not yet used)
(edit) @10841 [10841] 2 years audreyt * Pugs::Lexer - make these two equivalent: my Foo $x; my ::Foo …
(edit) @10649 [10649] 2 years audreyt * unpush r10645 and r10648 as promised.
(edit) @10648 [10648] 2 years audreyt * Unify named and unamed subroutines. (note - for releng, I'll rollback …
(edit) @10504 [10504] 2 years audreyt * Horrible stopgap kluge to make !-e "file" parse, before we switch …
(edit) @10461 [10461] 2 years audreyt * GHC 6.5-trunk now supports parsing UTF8 literals in strings, whilst …
(edit) @10248 [10248] 2 years audreyt * Pugs.Lexer: ruleWs -- proper dynamic <ws> support for cases where we …
(edit) @10178 [10178] 2 years audreyt * Lexer: oops, typo. xinming++
(edit) @10174 [10174] 2 years audreyt * Lexer: In << < x > >> do not commit on '<<' when we see inner …
(edit) @10163 [10163] 2 years audreyt * Lexer+Parser: Implement another whitespace-disambiguation: foo.bar; …
(edit) @10103 [10103] 2 years audreyt * Lexer/Parser: drop all mention of tryRule and tryChoice; next step is …
(edit) @10092 [10092] 2 years audreyt * Pugs.Lexer - merge Pugs.Rule.Token to handle all char codes correctly. …
(edit) @10091 [10091] 2 years audreyt * Pugs.Lexer: Accept all Ps/Pe and BidiMirroring? pairs, as defined in …
(edit) @10086 [10086] 2 years audreyt * Making Parsec into a Rules engine, part #2. The CharParser? primitives …
(edit) @10068 [10068] 2 years audreyt * Finished src/ tree rewrite of chromatic++'s contributions: Lexer.hs …
(edit) @10060 [10060] 2 years audreyt * Switch Pugs.Parser to Commit-by-default "ratchet" parser. * Caveat: …
(edit) @10059 [10059] 2 years audreyt * Third-party cleanup #1: - Remove most of Parsec from our source …
(edit) @10027 [10027] 2 years audreyt * undo another lexer tweak - not the time yet
(edit) @10026 [10026] 2 years audreyt * Preparing for a default-commit parser. (also fix the Lexer overeager …
(edit) @10011 [10011] 2 years audreyt * also fix the same assignment ops in the lexer
(edit) @9887 [9887] 3 years audreyt * Implement the commenting rules in S02v22: $a.#(your advertisement …
(edit) @9868 [9868] 3 years audreyt * Lexer: Handle arbitrarily nested comment intoduces.
(edit) @9867 [9867] 3 years audreyt * Support for multiline comments (currently only bracket as delimiters): …
(edit) @8907 [8907] 3 years autrijus * Lexer and Run.Perl5: Deliberately and blatantly suppresses warnings.
(edit) @8724 [8724] 3 years audreyt * implemented \x[1,2,3,].
(edit) @8722 [8722] 3 years audreyt * numbers.t: all underscore-related subtests now pass.
(edit) @8153 [8153] 3 years gaal * Refactor Cxt, Pos, and Prag nodes in Exp to a unified Ann (for …
(edit) @8006 [8006] 3 years autrijus * Pugs.Lexer - finish refactoring into maybeVerbatimBrackets.
(edit) @7953 [7953] 3 years luqui Added some tests for these changes. The listop method needs many many …
(edit) @7952 [7952] 3 years luqui Added mandatoryWhiteSpace combinator (needs cleanup). Changed \X control …
(edit) @7949 [7949] 3 years autrijus * luqui's \d[] patch eats the trailing space after the bracket; change …
(edit) @7943 [7943] 3 years luqui Fixed '$foo'.perl (wasn't properly escaping the $). In the process, I …
(edit) @7901 [7901] 3 years iblech * t/builtins/numify.t: Added Larry's testcase posted to p6c (link to …
(edit) @7752 [7752] 3 years iblech +$arg changed to :$arg, per …
(edit) @7579 [7579] 3 years rafl r17088@ata: rafl | 2005-10-12 17:10:51 +0200 * Made changes to remove …
(edit) @6432 [6432] 3 years iblech * Pugs.AST.Scope: Reorder the declarations of the various scope types -- …
(edit) @6393 [6393] 3 years scook0 * Disallow leading delimiters in ruleDelimitedIdentifier
(edit) @6392 [6392] 3 years scook0 * Merge some more parser redundancy * Oops, ruleDelimitedIdentifier …
(edit) @6359 [6359] 3 years scook0 * Some docs for Lexer.hs and Parser/Types.hs * Tweak DrIFT/Binary.hs so it …
(edit) @6187 [6187] 3 years autrijus * Allow lowercase and underscore for type names, eg: sub f (foo $x) { …
(edit) @6067 [6067] 3 years scook0 * Initial stab at some Haddock docs for Parser.hs * Formatted CodeGen?.hs' …
(edit) @5539 [5539] 3 years autark * Fix for (it seems) qq{ ... { ... } ... } * un-bug relevant tests
(edit) @5288 [5288] 3 years iblech Pugs.Lexer, Pugs.Parser -- Made ::?CLASS in subroutine signatures parse …
(edit) @5270 [5270] 3 years autrijus * [1] <=> [2] was misparsed as [1]{'='}[2]. Fixed.
(edit) @5255 [5255] 3 years chromatic Show name of sub with mismatched parameters in invocant binding failure …
(edit) @5166 [5166] 3 years autrijus * Emit.PIR and AST.Scope: Do not derive the slow and bloaty Read
(edit) @4764 [4764] 3 years autrijus * repair and <