:= templatable; lexer improvements

This commit is contained in:
Araq 2011-04-17 20:17:45 +02:00
commit 48dd9679bd
11 changed files with 117 additions and 166 deletions

View file

@ -0,0 +1,8 @@
template `:=`(name, val: expr): stmt =
var name = val
ha := 1
hu := "ta-da"
echo ha, hu