genltl: move all formula generation code to spot/gen/

Fixes #254.

* spot/gen/formulas.cc, spot/gen/formulas.hh: New files.
* spot/gen/Makefile.am: Add them.
* spot/Makefile.am: Fix build order.
* bin/genltl.cc: Move most code to the above files and adjust.
* bin/Makefile.am: Link genltl with libspotgen.
* doc/org/arch.tex: Adjust picture to show that genltl uses
libspotgen.
* python/spot/gen.i: Include formulas.hh.
* tests/python/gen.py: Make sure genltl() and ltl_pattern_name()
can be called.
This commit is contained in:
Alexandre Duret-Lutz 2017-04-25 12:24:01 +02:00
parent 52af3948d6
commit 8939e0dd50
9 changed files with 1495 additions and 1411 deletions

View file

@ -33,6 +33,7 @@
%{
#include <spot/gen/automata.hh>
#include <spot/gen/formulas.hh>
using namespace spot;
%}
@ -51,3 +52,4 @@ using namespace spot;
}
%include <spot/gen/automata.hh>
%include <spot/gen/formulas.hh>