From 111a9475974c403dd303560a2e97eff410529538 Mon Sep 17 00:00:00 2001 From: Petr Silhavik Date: Mon, 6 May 2013 11:17:28 +0200 Subject: [PATCH] Update README and description. --- Readme.txt => README | 2 ++ description | 9 ++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) rename Readme.txt => README (88%) diff --git a/Readme.txt b/README similarity index 88% rename from Readme.txt rename to README index 8ea5d49..9714fba 100644 --- a/Readme.txt +++ b/README @@ -1,5 +1,7 @@ Thank you for downloading Boost Statechart viewer. +If you want to know more about it read description. + To compile the this program, simpy type make diff --git a/description b/description index 0b9bf97..b51f5fc 100644 --- a/description +++ b/description @@ -1,5 +1,8 @@ -The program can visualize simple state machines. It is able to visualize states and transitions. Now it doesn't support orthogonal states. The state machine can be inside namespaces, but not in templates. This program works correctly with basic topic (StopWatch) in your examples. +The clang plugin can visualize simple state machines. It is able to visualize states and transitions. Now it doesn't support orthogonal states. The state machine can be inside namespaces. In folder examples you can find some source code of state machines that can be visualized using this tool. -The input for the program is the file with the state machine, using the command line you need to specify all source locations for finding header files, except of system source locations. For doing this you can use typical compiler options and flags (like -I for include files). The command line works the same as in the compilers. The output format is dot and the output file can be transformed into the picture using classic dot commands. +The input file for the program is the file with the state machine, using the command line you need to specify all source locations for finding header files, except of system source locations. For doing this you can use typical compiler options and flags (like -I for include files). As this is plugin for compiler the program line works the same as normal compiler. The output format is dot and the output file can be transformed into the picture using classic dot commands. -For compiling the program you need to have LLVM and Clang installed. The program should work with packages distributed with operating system or you can download LLVM and Clang from repositories and compile it. \ No newline at end of file +Example of command line invocation: +clang++ -Xclang -load -Xclang visualizer.so -Xclang -plugin -Xclang visualize-statechart -c file.cpp + +For compiling and running the plugin you need to have LLVM and clang installed. The program should work with packages distributed with operating system or you can download LLVM and clang from repositories and compile it. -- 2.39.2