Mercurial > repos > tabletprog
view samples/logical.tp @ 361:06dceff348ea
llcompile now has Hacky support for calling C functions using dl to lookup symbols and almost has support string constants
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 23 Apr 2015 19:24:20 -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) } }