tokay-lang / tokay

Tokay is a programming language designed for ad-hoc parsing, inspired by awk.
https://tokay.dev
MIT License
236 stars 7 forks source link

Capture access should downgrade captured items #122

Open phorward opened 9 months ago

phorward commented 9 months ago

Currently, 1 2 3 $1 + $3 produces (1, 2, 3, 4), but it should be (2, 4) because 2 is not touched and 4 is calculated by $1 + $3.