diff options
Diffstat (limited to 'test/src/test-completion.cpp.old')
-rw-r--r-- | test/src/test-completion.cpp.old | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/src/test-completion.cpp.old b/test/src/test-completion.cpp.old new file mode 100644 index 0000000..67d8708 --- /dev/null +++ b/test/src/test-completion.cpp.old @@ -0,0 +1,20 @@ +#include "uscxml/Interpreter.h" +#include "uscxml/debug/SCXMLDotWriter.h" +#include <DOM/io/Stream.hpp> + +int main(int argc, char** argv) { + if (argc != 2) { + std::cerr << "Expected path to scxml document" << std::endl; + exit(EXIT_FAILURE); + } + + using namespace uscxml; + + Interpreter* interpreter = Interpreter::fromURI(argv[1]); + //SCXMLDotWriter::toDot("output.dot", interpreter); + + interpreter->interpret(); + + + return EXIT_SUCCESS; +}
\ No newline at end of file |