Ed Page
Ed Page
Seems like a pretty neat concept might be nice as an "extras" block / tag (non-stdlib feature) ``` {% define name arg1 arg2 %} {% endmacro %} {% macro name...
Seems like a pretty neat concept might be nice as an "extras" block (non-stdlib feature) ```liquid {% filter upper %} Hello {% endfilter %} ``` See https://tera.netlify.app/docs/#filters Workaround: ```liquid {%...
Compile to wasm and provide a JS API 1. Would allow people to experiment in a browser 2. Would allow reproducing bugs in the browser 3. Extend reach
In some contexts, printing all errors can help speed up development cycle. In other contexts, it is overwhelming
The liquid test suite has helped us identify a lot of gaps in our compatibility but it is very incomplete still. Ideas - Create common input for liquid-rust and liquid-ruby...
We have a thing wrapper around `pest` that is exposed in `liquid`s API - The bridge creates extra work - We are limited in evolving the bridge's API Ideally the...
Example test case: ```rust #[test] #[should_panic] fn test_recursively_included_template_does_not_produce_endless_loop() { panic!("We don't check recursion depth"); /* let parser = liquid::ParserBuilder::with_liquid().include_source(Box::new(InfiniteFileSystem)).build(); parser.parse("{% include 'loop' %}").unwrap(); */ } ``` We probably want `Parser`...
Example test: ```rust assert_eq!(v!("ar"), filters!(slice, v!("foobar"), v!(-2), v!(2))); ``` - [Rust implementation](https://github.com/cobalt-org/liquid-rust/blob/master/src/filters/mod.rs) - [Ruby implementation](https://github.com/Shopify/liquid/blob/master/lib/liquid/standardfilters.rb) - [Relevant tests](https://github.com/cobalt-org/liquid-rust/search?q=liquid+261&unscoped_q=liquid+261) - Once this is working, ideally the test will start failing. We...
Example test: ```rust assert_eq!(v!(["foo"]), filters!(uniq, v!("foo"))); ``` - [Rust implementation](https://github.com/cobalt-org/liquid-rust/blob/master/src/filters/mod.rs) - [Ruby implementation](https://github.com/Shopify/liquid/blob/master/lib/liquid/standardfilters.rb) - [Relevant tests](https://github.com/cobalt-org/liquid-rust/search?q=liquid+266&unscoped_q=liquid+266) - Once this is working, ideally the test will start failing. We would just...