Mercurial > repos > tabletprog
view samples/logical.tp @ 367:e2c1309ab750
Use dict hash instead of dict linear in JSON parser. Implement basic string escapes in JSON parser.
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 09 Aug 2015 18:07:23 -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) } }