Mercurial > repos > tabletprog
view samples/logical.tp @ 244:ae5188be523e
Improve compatibility of new parser with the old one
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 06 Jan 2014 00:48:19 -0800 |
parents | 59a94f3ad56f |
children |
line wrap: on
line source
#{ foo <- { print: "foo\n" true } bar <- { print: "bar\n" false } baz <- { print: "baz\n" true } qux <- { print: "shouldn't be printed\n" true } main <- { foo && bar || (baz || qux) } }