| 'DOCUMENTATION' | ~~ the @reduce library allows you to reduce RPN expressions that are enclosed within curly braces inside of a tuple . here's an example of how to use it : '' (@reduce snake = x is { 2 3 + 4 * } and y is { 10 7 - } .) this will result in the following : 'snake' x is 20 and y is 3 || '@include' lib/math.nv | '' (@reduce .) | '' convert output stack to tuple | '' (@reduce $stack =) | '' @reduce 'destination' $stack | '' (@reduce {) '@math' $result | '' (@reduce { $result) | '' (@reduce { $result }) | '' @reduce 'output' $result | '' (@reduce { $a $b +) | '' (@reduce {) '@math' add $a $b | '' (@reduce { $a $b -) | '' (@reduce {) '@math' subtract $a $b | '' (@reduce { $a $b *) | '' (@reduce {) '@math' multiply $a $b | '' (@reduce { $a $b /) | '' (@reduce {) '@math' divide $a $b | '' (@reduce $word) | '' @reduce 'output' $word | '' convert $stack stack to tuple 'destination' $destination | '@js' const tuple = stacks[$stack].join(" "); delete stacks[$stack]; f($destination, tuple);