Mercurial > repos > tabletprog
view samples/logical.tp @ 268:123e9468d55e
Add support for invoking methods that take no arguments other than self through the relfection API
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 18 Jul 2014 09:55:19 -0700 |
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) } }