aboutsummaryrefslogtreecommitdiff
path: root/patok.lua (follow)
AgeCommit message (Collapse)AuthorLines
2025-06-08patok: use `self:next()` over `self.next()` when dropping tokensChloƩ Vulquin-1/+1
Fixes: #1 Reported-By: https://github.com/AnotherSubatomo
2022-10-13fix obvious syntax errorsChloe Kudryavtsev-2/+2
2022-10-13experimental: add the ability to drop inputs and lexer-level alternatesChloe Kudryavtsev-10/+34
2021-12-29optimize patok patternsv1.1.0Chloe Kudryavtsev-1/+1
a lua pattern starting with ^ selects the first index (rather than the true string start) we can thus make the patterns fail for failed matches much faster by manually prepending a '^' for larger strings, this could be a gigantic speed improvement
2021-12-23initial importChloe Kudryavtsev-0/+39