Mercurial > repos > tabletprog
view samples/compilerbug_004.tp @ 230:195f02ba349b
Implement lambdas in grammar. Make assignments an expression in grammar.
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 02 Jan 2014 21:04:10 -0800 |
parents | 38127fbf5f9d |
children |
line wrap: on
line source
#{ foo <- 42 new <- { #{ bar <- foo } } main <- { print: (string: ((new: ) bar)) . "\n" } }