Commit graph

166 commits

Author SHA1 Message Date
Alexandre Duret-Lutz
05cfbaad1f * doc/org/install.org: Suggest using the stable packages with Ubuntu. 2015-08-25 23:28:31 +02:00
Alexandre Duret-Lutz
daf5a2be05 org: link to tl.pdf
* doc/org/index.org, doc/org/ioltl.org: Add links.
2015-08-25 23:23:11 +02:00
Alexandre Duret-Lutz
c8df1ae85d * doc/org/ltldo.org: Another typo. 2015-08-21 23:17:08 +02:00
Alexandre Duret-Lutz
596de181be * doc/org/ltldo.org: Improve English. 2015-08-21 22:11:10 +02:00
Alexandre Duret-Lutz
f831f729e1 homogenize dstar_parse() and parse_aut() outputs
* src/dstarparse/dstarparse.yy, src/dstarparse/dstarscan.ll
src/dstarparse/parsedecl.hh, src/dstarparse/public.hh:
Adjust to return the same return types as parse_aut.
* src/dstarparse/fmterror.cc: Delete, we can use
the one of parse_aut.
* src/dstarparse/Makefile.am: Adjust.
* src/tests/ikwiad.cc, src/bin/dstar2tgba.cc,
src/bin/ltldo.cc: Adjust usage.
* src/bin/ltlcross.cc: The the result of dstar_parse() as-is, now that
it is a TωA like those produced by parse_aut().  As a consequence,
get rid of all the code storing statistics about the input
automaton.
* src/tests/ltlcross3.test, src/tests/ltl2dstar.test: Adjust expected
CSV output.
* doc/org/ltlcross.org, src/bin/man/ltlcross.x: Adjust to not
mention that %D performs a tranformation to Büchi.
2015-08-20 23:21:20 +02:00
Alexandre Duret-Lutz
314a016547 * doc/org/spot.css: improve style for printing. 2015-08-17 11:06:02 +02:00
Alexandre Duret-Lutz
21ff2d0415 org: Add link to the Python notebooks.
Fixes #100.

* doc/org/tut.org: Link to the notebook.
* src/sanity/ipynb.test: New test, to make sure we do not forget
to document ipython notebook when we add some.
* src/sanity/Makefile.am: Add it and run it.
* NEWS: Mention it.
2015-08-13 16:50:15 +02:00
Alexandre Duret-Lutz
546304eabc * doc/org/spot.css: Add padding at the bottom of man pages. 2015-08-13 16:50:15 +02:00
Alexandre Duret-Lutz
490b0b1584 * doc/org/tools.org: Add links to man pages. 2015-08-13 16:50:15 +02:00
Alexandre Duret-Lutz
659dfe95e1 org: cleanup css files
* doc/org/syntax.css: Delete this useless file.
* doc/org/spot.css: Cleanup.
* doc/org/init.el.in, doc/org/.dir-locals.el.in: Only load spot.css.
* doc/Makefile.am: Only distribute spot.css.
2015-08-07 16:41:12 +02:00
Alexandre Duret-Lutz
ff57e3ef4c Release Spot 1.99.2
* NEWS, configure.ac, doc/org/setup.org: Bump version number.
2015-07-18 00:37:45 +02:00
Alexandre Duret-Lutz
4e025ecd2b org: Really fix example generation
* doc/org/autfilt.org, doc/org/dstar2tgba.org, doc/org/hoa.org,
doc/org/ltlcross.org: Fix several typos.  In particular ":results" and
":exports" both end with s.
2015-07-17 23:43:01 +02:00
Alexandre Duret-Lutz
67d3553b12 org: fix example generation
* doc/org/autfilt.org, doc/org/dstar2tgba.org: Here.  Many examples
failed because the code generating the input was not run.
2015-07-17 19:04:40 +02:00
Alexandre Duret-Lutz
fd16383e70 org: simplify the calls to ltl2dstar
* doc/org/dstar2tgba.org, doc/org/satmin.org: Here.
2015-07-17 18:00:05 +02:00
Alexandre Duret-Lutz
750d352fb6 Fix many dead links.
Also change http:// to https:// for url that would automatically
redirect to the later.

* doc/mainpage.dox, doc/org/dstar2tgba.org, doc/org/ltl2tgba.org,
doc/org/ltlcross.org, doc/org/satmin.org, doc/org/tools.org,
src/ltlvisit/dot.hh, src/misc/hashfunc.hh, wrap/python/ajax/trans.html:
Here.
2015-07-17 17:55:15 +02:00
Alexandre Duret-Lutz
c9109335b3 org: more typos
* doc/org/setup.org: Fix link to tarball.
* doc/org/ltlcross.org: Missing s.
2015-07-17 10:06:49 +02:00
Alexandre Duret-Lutz
a39ebcc8cc org: fix broken links to GraphViz
* doc/org/dstar2tgba.org, doc/org/ltl2tgba.org, doc/org/ltl2tgta.org:
Here.
2015-07-16 20:01:20 +02:00
Alexandre Duret-Lutz
c37fedb011 org: typos
Reported by Joachim Klein.

* doc/org/ltl2tgba.org: Broken link.
* doc/org/ltlcross.org: Two typos.
2015-07-16 17:52:45 +02:00
Alexandre Duret-Lutz
e540eaeee1 document that libraries have their own Debian packages
* NEWS, doc/org/install.org: Here.
2015-07-07 15:45:17 +02:00
Alexandre Duret-Lutz
b8c6eb04b3 Release Spot 1.99.1
* NEWS, configure.ac, doc/org/setup.org: Bump version number.
2015-06-23 08:35:32 +02:00
Alexandre Duret-Lutz
41a7b906d8 org: improve TOC display and specify viewport
* doc/org/spot.css: Improve TOC.
* doc/org/.dir-locals.el.in, doc/org/init.el.in: Specify viewport.
2015-06-22 09:24:32 +02:00
Alexandre Duret-Lutz
ce3ad1e3ff * doc/org/tut20.org: Make sure the cleanup is run. 2015-06-20 14:14:26 +02:00
Alexandre Duret-Lutz
ab83c798f6 * doc/org/syntax.css: Do not set the body colors. 2015-06-20 14:13:16 +02:00
Alexandre Duret-Lutz
27cab60c01 * doc/org/spot.css: Point to new website. 2015-06-19 23:35:39 +02:00
Alexandre Duret-Lutz
c8d964df05 * doc/org/syntax.css: Fix syntax. 2015-06-19 23:35:30 +02:00
Alexandre Duret-Lutz
5b72c5a064 org: really fix the satmin.org example
* doc/org/satmin.org: Fix export.  We need both 'results: silent' and
'exports: both' for the code to be run and shown.
2015-06-19 23:14:19 +02:00
Alexandre Duret-Lutz
162e114396 org: fix SAT example
* doc/org/satmin.org: Do not use ":export code" on
code that must be run on export.
2015-06-19 17:04:10 +02:00
Alexandre Duret-Lutz
286775ee68 * doc/org/index.org: Remove up/home links. 2015-06-17 22:33:23 +02:00
Alexandre Duret-Lutz
ccd60c8c5e org: link to Doxygen documentation, and to on-line translator
* doc/org/index.org: Here.
2015-06-17 11:38:16 +02:00
Alexandre Duret-Lutz
1b3054d8a8 org: simplify calls to ltl2dstar
* doc/org/satmin.org: Here.
2015-06-16 22:33:32 +02:00
Alexandre Duret-Lutz
c0aa403867 * doc/org/install.org: Do not use {{{LASTRELEASE}}} in <code>. 2015-06-16 20:25:26 +02:00
Alexandre Duret-Lutz
3e853eedeb org: add utf-8 markers
* doc/org/index.org, doc/org/ltl2tgta.org, doc/org/randltl.org,
doc/org/satmin.org, doc/org/tut.org, doc/org/tut01.org,
doc/org/tut02.org, doc/org/tut10.org, doc/org/tut20.org,
doc/org/tut21.org, doc/org/tut22.org: Here.
2015-06-14 23:40:34 +02:00
Alexandre Duret-Lutz
89592881c7 org: new example
Fixes #14.

* doc/org/tut22.org: New file.
* doc/Makefile.am, doc/org/tut.org: Add it.
2015-06-12 22:01:30 +02:00
Alexandre Duret-Lutz
562a8d0f20 * doc/org/tut21.org: Show the initial state number. 2015-06-12 21:08:52 +02:00
Alexandre Duret-Lutz
4d848e988c org: new example
* doc/org/tut21.org: New file.
* doc/Makefile.am, doc/org/tut.org: Add it.
2015-06-12 00:42:05 +02:00
Alexandre Duret-Lutz
a1ba0a89c5 * doc/org/tut20.org: Cleanup. 2015-06-11 22:36:09 +02:00
Alexandre Duret-Lutz
a86391ab77 hoaparse: rename to parseaut
Because this parser is not specific to HOA anymore.

* src/hoaparse/Makefile.am, src/hoaparse/fmterror.cc,
src/hoaparse/hoaparse.yy, src/hoaparse/parsedecl.hh,
src/parseaut/public.hh, src/hoaparse/hoascan.ll,
src/tests/hoaparse.test: Rename to...
* src/parseaut/Makefile.am, src/parseaut/fmterror.cc,
src/parseaut/parseaut.yy, src/parseaut/parsedecl.hh,
src/hoaparse/public.hh, src/parseaut/scanaut.ll,
src/tests/parseaut.test: ... these, and also adjust the name internally.
For instance hoa_aut_ptr is now parsed_aut_ptr; hoa_stream_parser is now
automaton_stream_parser, and hoa_parse() has become parse_aut().
* NEWS, README, configure.ac, doc/org/tut20.org, src/Makefile.am,
src/bin/autfilt.cc, src/bin/common_aoutput.cc,
src/bin/common_aoutput.hh, src/bin/common_conv.cc,
src/bin/ltlcross.cc, src/bin/ltldo.cc, src/tests/Makefile.am,
src/tests/complementation.cc, src/tests/ltl2tgba.cc,
src/tests/readsave.test, wrap/python/ajax/spot.in,
wrap/python/spot.py, wrap/python/spot_impl.i,
wrap/python/tests/automata-io.ipynb, wrap/python/tests/parsetgba.py:
Adjust.
2015-06-11 13:31:13 +02:00
Alexandre Duret-Lutz
60bd9dd606 org: add a new code example
This addresses on item of #14.

* doc/org/tut20.org: New file.
* doc/Makefile.am: Add it.
* doc/org/tut.org: Link to it.
* doc/org/.dir-locals.el.in, doc/org/init.el.in: Fix some PATH
issues.
2015-06-10 23:39:38 +02:00
Alexandre Duret-Lutz
2e34fa4248 org: add installation instructions
* doc/org/install.org: New file.
* doc/Makefile.am: Add it.
* doc/org/index.org: Link to it.
* doc/org/setup.org: Add macro for
various version numbers.
* doc/org/tools.org: Update version number.
* NEWS, README, bench/ltl2tgba/README, debian/control,
debian/copyright: Update URLs to website.
2015-06-07 23:59:08 +02:00
Alexandre Duret-Lutz
f1d159845d * doc/org/tut10.org: Typo. 2015-06-07 23:59:04 +02:00
Alexandre Duret-Lutz
a8f02ed8ca org: add an index page
* doc/org/index.org, doc/org/tut.org: New files.
* doc/Makefile.am: Add them.
* doc/org/setup.org: Adjust HOME link.
* doc/org/tools.org: Adjust UP link.
* debian/spot-doc.doc-base: The root is now index.html.
2015-06-07 16:51:33 +02:00
Alexandre Duret-Lutz
e7f5af6c6a org: add example of LTL->BA translation
This addresses one item in #14.

* doc/org/tut10.org: New file.
* doc/Makefile.am: Add it.
* src/twaalgos/translate.hh: Fix inclusion of types from
postprocessor.
* wrap/python/spot.py (translate): Fix typo in doc string.
2015-06-07 16:51:33 +02:00
Alexandre Duret-Lutz
6c2985e753 fix Python bindings for relabeling_map, and document them
This fixes #61, and addresses one item of #14.

* src/ltlvisit/relabel.hh: Use a map rather than a unordered_map,
because the Swig binding for unordered_map do not seem functional.
* wrap/python/spot_impl.i: Adjust.
* wrap/python/tests/relabel.py: New file.
* wrap/python/tests/Makefile.am: Add it.
* doc/org/tut02.org: New file.
* doc/Makefile.am: Add it.
2015-06-07 14:22:31 +02:00
Alexandre Duret-Lutz
a8f5e7fd8b org: Update tut01
* doc/org/tut01.org: Update.
* doc/org/g++wrap.in: Include BuDDy's header.
2015-06-05 23:45:09 +02:00
Alexandre Duret-Lutz
8fb7b279f7 ltlvisit: rename tostring.hh as print.hh and rename printer functions
This actually performs three related changes, but separating them
would be quite inconvenient.

1) rename tostring.hh to print.hh a welcome side-effect is that
I could fix several files that included this file for not reason.

2) de-overload some of the to_string functions, and rename them
as follow:

  to_string -> print_psl, print_sere, str_psl, str_sere
  to_utf8_string -> print_utf8_psl, print_utf8_sere,
                    str_utf8_psl, str_utf8_sere
  to_spin_string -> print_spin_ltl, str_spin_ltl
  to_wring_string -> print_wring_ltl, str_wing_ltl
  to_lbt_string -> print_lbt_ltl, str_lbt_ltl
  to_latex_string -> print_latex_psl, str_latex_psl
  to_sclatex_string -> print_sclatex_psl, str_sclatex_psl

Now it is clearer what these functions do, and their restrictions.

3) all those print_* functions now take the stream to write onto
as their first argument.  This fixes #88.

* src/ltlvisit/tostring.cc, src/ltlvisit/tostring.hh: Rename into...
* src/ltlvisit/print.cc, src/ltlvisit/print.hh: ... those, and make
the changes listed above.
* doc/org/tut01.org, src/bin/common_output.cc,
src/bin/common_trans.cc, src/bin/ltl2tgba.cc, src/bin/ltl2tgta.cc,
src/bin/ltlcross.cc, src/bin/ltldo.cc, src/bin/ltlfilt.cc,
src/bin/randltl.cc, src/ltlparse/ltlparse.yy,
src/ltlvisit/Makefile.am, src/ltlvisit/mark.cc,
src/ltlvisit/relabel.cc, src/ltlvisit/simplify.cc,
src/ltlvisit/snf.cc, src/ta/taexplicit.cc, src/ta/tgtaexplicit.cc,
src/taalgos/tgba2ta.cc, src/tests/equalsf.cc, src/tests/ltl2tgba.cc,
src/tests/ltlrel.cc, src/tests/randtgba.cc, src/tests/reduc.cc,
src/tests/syntimpl.cc, src/tests/tostring.cc, src/twa/bdddict.cc,
src/twa/bddprint.cc, src/twa/taatgba.cc, src/twa/taatgba.hh,
src/twa/twagraph.cc, src/twaalgos/compsusp.cc, src/twaalgos/lbtt.cc,
src/twaalgos/ltl2taa.cc, src/twaalgos/ltl2tgba_fm.cc,
src/twaalgos/neverclaim.cc, src/twaalgos/remprop.cc,
src/twaalgos/stats.cc, wrap/python/ajax/spot.in, wrap/python/spot.py,
wrap/python/spot_impl.i: Adjust.
2015-06-04 22:56:57 +02:00
Alexandre Duret-Lutz
98790f5345 ltlparse: rename the main functions
parse         -> parse_infix_psl
parse_lbt     -> parse_prefix_ltl
parse_sere    -> parse_infix_sere
parse_boolean -> parse_infix_boolean

Fixes #87.

* src/ltlparse/ltlparse.yy, src/ltlparse/public.hh:
Do the above changes.
* doc/mainpage.dox, doc/org/tut01.org, iface/ltsmin/modelcheck.cc,
src/bin/common_finput.cc, src/hoaparse/hoaparse.yy,
src/kripkeparse/kripkeparse.yy, src/tests/checkpsl.cc,
src/tests/checkta.cc, src/tests/complementation.cc,
src/tests/consterm.cc, src/tests/emptchk.cc, src/tests/equalsf.cc,
src/tests/kind.cc, src/tests/length.cc, src/tests/ltl2tgba.cc,
src/tests/ltlprod.cc, src/tests/ltlrel.cc, src/tests/randtgba.cc,
src/tests/readltl.cc, src/tests/reduc.cc, src/tests/syntimpl.cc,
src/tests/tostring.cc, wrap/python/ajax/spot.in,
wrap/python/tests/alarm.py, wrap/python/tests/interdep.py,
wrap/python/tests/ltl2tgba.py, wrap/python/tests/ltlparse.py: Adjust.
2015-06-04 09:26:57 +02:00
Alexandre Duret-Lutz
aedce8101c ltlvisit: merge lbt.hh into tostring.hh
Fixes #86.

* src/ltlvisit/lbt.hh, src/ltlvisit/lbt.cc: Delete and move contents
into...
* src/ltlvisit/tostring.hh, src/ltlvisit/tostring.cc: ... these.
* doc/org/tut01.org, src/bin/common_output.cc,
src/bin/common_trans.cc, src/bin/ltlcross.cc,
src/ltlvisit/Makefile.am, src/twaalgos/lbtt.cc,
wrap/python/spot_impl.i: Adjust.
2015-06-03 08:38:33 +02:00
Alexandre Duret-Lutz
8de524adb0 org: add a first code example
The difficulty is not the example, but setting up org-mode to allow
Python and C++ example that use the local libraries, not those
installed system-wide.

* doc/org/.dir-locals.el: Rename as...
* doc/org/.dir-locals.el.in: ... this, so we can easily define
PYTHONPATH and other environment variables.
* doc/org/init.el.in: Enable C++, and make sure but Python
and C++ use the local libraries.
* doc/org/g++wrap.in, doc/org/tut01.org: New files.
* doc/Makefile.am, configure.ac: Adjust.
* wrap/python/spot.py (to_str): Take a parenth argument.
2015-06-03 08:07:23 +02:00
Alexandre Duret-Lutz
203d07693d bin: generalized shorthands for ltldo and ltlcross
* src/bin/common_trans.cc: Skip leading directories, and
do not require that the prefix is followed by space of 0.
* src/tests/ltldo.test: Add a test.
* doc/org/ltlcross.org: Update.
2015-06-02 18:22:55 +02:00
Alexandre Duret-Lutz
6298918497 bin: Use --output-format=hoa by default when calling ltl2dstar
* src/bin/common_trans.cc: Here.
* doc/org/ltlcross.org: Adjust examples.
2015-06-02 17:27:58 +02:00