I want to allow people to append to a varaible with capture or assign. Here is a syntax proposal. It was trivial to implement and it works with all new capture and assign modifications (post condition, ternary, etc).
The main problem is which operator should I use. +=
or >>
.
{% assign foo = 'yo' %} // "yo"