diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-01-15 14:19:48 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-01-15 14:19:48 (GMT) |
commit | 333348d70b9cb6dab149ff57bdf9345cdee9e0ef (patch) | |
tree | 01a062266363c30355833217e712aed2c332c454 /test/samples/uscxml/test-prolog.scxml | |
parent | a0013f1457494b00f2caca1eb4f23a3475be2259 (diff) | |
download | uscxml-333348d70b9cb6dab149ff57bdf9345cdee9e0ef.zip uscxml-333348d70b9cb6dab149ff57bdf9345cdee9e0ef.tar.gz uscxml-333348d70b9cb6dab149ff57bdf9345cdee9e0ef.tar.bz2 |
Started prolog datamodel
Diffstat (limited to 'test/samples/uscxml/test-prolog.scxml')
-rw-r--r-- | test/samples/uscxml/test-prolog.scxml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/test/samples/uscxml/test-prolog.scxml b/test/samples/uscxml/test-prolog.scxml index 75a1c64..85d45bc 100644 --- a/test/samples/uscxml/test-prolog.scxml +++ b/test/samples/uscxml/test-prolog.scxml @@ -1,14 +1,19 @@ <scxml datamodel="prolog" initial="start" binding="late"> <datamodel> - <data id="facts"> + <!-- data id="facts"> cat(tom). animal(X):- cat(X). - </data> + </data --> + <data id="likes" src="prolog/likes.pl" /> </datamodel> - <script> + <!-- script> cat(tom). cat(X). animal(X). + </script --> + <script> + likes(sam,curry). + likes(sam,chips). </script> <state id="start"> </state> |