Commit Graph
1794 Commits
Author SHA1 Message Date
Michael Go f77075895a appease rubocop 2024-11-01 17:24:09 -03:00
Michael Go 579b899e24 mini opt 2024-11-01 17:19:50 -03:00
Michael Go 7ac53a3639 use String#split for liquid tag tokenization 2024-11-01 17:11:10 -03:00
Michael Go f49ceed826 mini opt 2024-11-01 17:06:28 -03:00
Michael Go d2b68b81a7 undo mini opt 2024-11-01 17:02:09 -03:00
Michael Go 7d9ffdce03 mini opt 2024-11-01 16:36:25 -03:00
Michael Go 2e4d02f4d1 mini opt 2024-11-01 16:22:01 -03:00
Ian Ker-SeymerandGitHub a0c64e4cbd Update strscan comment 2024-10-31 16:57:52 -04:00
Michael Go b4907f6323 pre-calculate tokens 2024-10-31 15:46:48 -03:00
Michael Go 78ef372878 backward compatible tokenizer 2024-10-30 14:31:55 -03:00
Michael Go 2a829b889e add more quirky lexer parsing unit test 2024-10-30 13:54:01 -03:00
Michael Go 15d117926d more less strict strscan version requirement 2024-10-30 13:54:01 -03:00
Michael Go 936f73dc30 refactor tokenizer to simulate original regex properly 2024-10-30 13:54:01 -03:00
Michael Go fecbc62533 remove unnecessary comparison jump table entries 2024-10-30 13:54:01 -03:00
Michael Go b7b6400985 fix typo 2024-10-30 13:54:01 -03:00
Ian Ker-SeymerandMichael Go be8e329cef more opt 2024-10-30 13:54:01 -03:00
Ian Ker-SeymerandMichael Go d76663f570 more opt 2024-10-30 13:54:01 -03:00
Ian Ker-SeymerandMichael Go f42c6b0608 more opt 2024-10-30 13:54:01 -03:00
Ian Ker-SeymerandMichael Go aa45356133 Avoid method dispatch 2024-10-30 13:54:01 -03:00
Michael Go a406603e9f more micro optimization 2024-10-30 13:54:01 -03:00
Michael Go 54975ddac1 more micro optimization 2024-10-30 13:54:01 -03:00
Michael Go 91e1563e1c more micro optimization 2024-10-30 13:54:01 -03:00
Michael Go 0346337c05 more micro optimization 2024-10-30 13:54:01 -03:00
Michael Go 649b64ffd4 more micro optimization 2024-10-30 13:54:01 -03:00
Michael Go 48d6a03de6 more micro optimization 2024-10-30 13:54:01 -03:00
Michael Go 9e0c5f4747 more micro optimization 2024-10-30 13:54:00 -03:00
Michael Go e06ac1bc9c more micro optimization 2024-10-30 13:54:00 -03:00
Michael Go c2baa4c270 more micro optimization 2024-10-30 13:54:00 -03:00
Michael Go b81d1c8c5d more micro optimization 2024-10-30 13:54:00 -03:00
Michael Go e3c2fd47b2 more micro optimization 2024-10-30 13:54:00 -03:00
Michael Go 1b3927ee1d more micro optimization 2024-10-30 13:54:00 -03:00
Michael Go 6ad7508ce2 more micro optimization 2024-10-30 13:54:00 -03:00
Michael Go ddb969af8b more micro optimization 2024-10-30 13:54:00 -03:00
Michael Go 128935dcef micro optimization 2024-10-30 13:54:00 -03:00
Michael Go b545e3ae6a lazy tokenizer 2024-10-30 13:54:00 -03:00
Michael Go 59699075a2 refactor lexer unit test 2024-10-30 13:53:57 -03:00
Michael Go 12b5a35e26 fix parsing quirky incomplete expressions 2024-10-30 13:53:34 -03:00
Michael GoandGitHub 8e40f8050a Merge pull request #1838 from Shopify/quirky-lexer-parsing
fix parsing quirky incomplete expressions
2024-10-30 13:52:47 -03:00
Michael Go ffce6de8bb avoid using StringScanner eos 2024-10-30 13:45:10 -03:00
Michael Go f00670cb01 refactor lexer unit test 2024-10-30 13:44:36 -03:00
Michael Go f6a3e25e2e fix parsing quirky incomplete expressions 2024-10-30 13:44:35 -03:00
Michael GoandGitHub f6ffc37cf2 Merge pull request #1840 from Shopify/fix-lexer-contains-as-id
fix lexer parsing ID 'contains' as comparison
2024-10-30 13:43:48 -03:00
Michael Go 1375a9e4dc fix lexer parsing ID 'contains' as comparison 2024-10-30 13:39:55 -03:00
Michael GoandGitHub c626dfa1a1 Merge pull request #1839 from Shopify/lexer-parse-error-with-utf8
raise syntax error from lexer parser with UTF-8 character
2024-10-30 13:39:05 -03:00
Michael Go 8a9f33a060 raise syntax error from lexer parser with utf8 character 2024-10-29 22:04:37 -03:00
Michael GoandGitHub 1943441361 Merge pull request #1835 from Shopify/fix-multibyte-variable-parsing
fix parsing Variable blockbody with multibyte character
2024-10-28 19:31:21 -03:00
Michael GoandGitHub 36251e640c Merge pull request #1837 from Shopify/lexer-comparison-fix
fix lexer parsing comparison without whitespaces
2024-10-28 19:31:11 -03:00
Michael Go d94293a464 fix lexer parsing comparison without whitespaces 2024-10-28 19:30:12 -03:00
Michael Go 6c13805a60 fix parsing Variable blockbody with multibyte character 2024-10-28 17:33:55 -03:00
Michael GoandGitHub b4196489c2 Merge pull request #1833 from Shopify/fast-variable-parse
Faster Variable BlockBody Matching
2024-10-28 15:28:04 -03:00