diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -1,13 +1,17 @@ # Simgrid platform to dot file converter -**sgp2dot** is a [Simgrid](https://simgrid.org) platform to [Graphiz dot file](http://graphviz.org/) convert implemented in Lisp. It requires: -- Common Lisp (Implementation supporting asdf) -- s-xml +**sgp2dot** is a [Simgrid](https://simgrid.org) platform to [Graphiz dot file](http://graphviz.org/) converter implemented in Common Lisp. It requires: +- Common Lisp +- [ASDF](https://common-lisp.net/project/asdf/) (Another System Definition Facility) +- [S-XML](https://common-lisp.net/project/s-xml/) (Simple XML parser) -How to use it ? Compile it using the following lisp code: +### How to use it ? +- **First solution:** Compile the project using *asdf* with the following call: > (asdf:operate :build-op "sgp2dot") -Finally invoke `(convert <platform-file> <output-dot-file>)` or use the dedicated *sgp2dot-cl.lisp* -in your CLI. Note that you should change the *sgp2dot-cl.lisp* shebang according to your lisp implementation. + Then, use the dedicated *sgp2dot-cl.lisp* in your CLI. Note that you should + adapt the *sgp2dot-cl.lisp* shebang according to your lisp implementation. +- **Second, and simpler solution:** Load the system using *asdf*, and invoke + `(sgp2dot:convert <platform-file> <output-dot-file>)`. |
