Ian Ker-Seymer and GitHub
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-Seymer and Michael Go
be8e329cef
more opt
2024-10-30 13:54:01 -03:00
Ian Ker-Seymer and Michael Go
d76663f570
more opt
2024-10-30 13:54:01 -03:00
Ian Ker-Seymer and Michael Go
f42c6b0608
more opt
2024-10-30 13:54:01 -03:00
Ian Ker-Seymer and Michael 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 Go and GitHub
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 Go and GitHub
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 Go and GitHub
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 Go and GitHub
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 Go and GitHub
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 Go and GitHub
b4196489c2
Merge pull request #1833 from Shopify/fast-variable-parse
...
Faster Variable BlockBody Matching
2024-10-28 15:28:04 -03:00
Gray Gilmore and GitHub
6d58c41440
Merge pull request #1831 from Shopify/gg-add-named-params-docs
...
Update liquid docs for named parameters
2024-10-28 09:20:55 -07:00
Michael Go
fb6ac72520
use byteslice to create Variable BlockBody
2024-10-25 15:41:35 -03:00
Michael Go
cb16219552
faster BlockBody variable matching
2024-10-25 15:22:56 -03:00
Gray Gilmore
8d7ed706f4
Update liquid docs for named parameters
...
The YARD liquid gem now supports specifying named parameters. For the
core liquid tags and filters this is the only object I could find that
needed to be updated.
2024-10-24 09:56:50 -07:00
Ian Ker-Seymer and GitHub
b3553787c8
Speed up the lexer for Ruby 3.4+ ( #1832 )
...
* Speed up lexing
* Bump msrv to 3.0 (from 2.7)
* Normalize test for ruby-head compat
* Fix bug when parsing negative numbers
2024-10-23 14:15:33 -04:00
Ian Ker-Seymer and GitHub
b233b3d081
Bump to v5.6.0.alpha ( #1819 )
2024-08-15 16:12:16 -04:00
Alex Coco and GitHub
ac91d31268
Merge pull request #1818 from Shopify/tablerow-interrupt
...
Handle interrupts in table row
2024-08-15 14:04:35 -04:00