- 29 Jun, 2016 3 commits
-
-
Akim Demaille authored
* tests/python/is-equivalent.py: Since we move to more `trivial` identities, this test was weakened, as the expressions were not just equivalent, but equal.
-
Akim Demaille authored
* tests/python/demangle.py, tests/python/to-expression.py: here.
-
Akim Demaille authored
* tests/python/add.dir/a1+b1.gv: New. * tests/python/add.dir/a1.gv: New. * tests/python/add.dir/ab+bc.gv: New. * tests/python/add.dir/b1.gv: New. * tests/python/add.dir/join.gv: New. * tests/python/add.py: Adjust.
-
- 28 Jun, 2016 10 commits
-
-
Clément Gillard authored
Fixes #62. Give more information on what we were doing when the exception occurred. * vcsn/algos/determinize.hh, * vcsn/algos/proper.hh, * vcsn/algos/to-expression.hh, * vcsn/algos/weight-series.hh: Here.
-
Clément Gillard authored
See #77. Move `vcsn.demangle`, `vcsn.gdb-demangle` and `vcsn_config` to new module `vcsn_tools` to alleviate their importations. * python/vcsn/demangle.py, python/vcsn/gdb-demangle.py: Move to... * python/vcsn_tools/demangle.py, * python/vcsn_tools/gdb-demangle.py: Here. * python/vcsn_config.in.py: Move to... * python/vcsn_tools/config.in.py: Here. * python/vcsn_tools/__init__.py: Reference files that are in the build-tree aswell. * python/pylintrc: Ignore dynamically referenced module. * configure.ac, python/local.mk: Update configuration. * libexec/vcsn-compile, libexec/vcsn-demangle, libexec/vcsn-gdb, * libexec/vcsn-ps, python/vcsn/__init__.py, tests/python/demangle.py: Update imports. * tests/unit/pylint.chk: Check new module with Pylint.
-
Akim Demaille authored
* doc/notebooks/Executables.ipynb: New. * doc/notebooks/!Read-me-first.ipynb: Fix page name.
-
Akim Demaille authored
* libexec/parse-args.hh, libexec/parse-args.cc (commands): New. * libexec/vcsn-tafkit.cc (-l, --list-commands): New. (--help): Use it. * bin/vcsn.in: Use it to avoid duplicating this list.
-
Akim Demaille authored
Finally we can run `vcsn tafkit --help` and get something meaningful. Also, always strip the result, to avoid instantiation explosions. * libexec/parse-args.hh, libexec/parse-args.cc (vcsn_main): Remove. This used to exist when all the TAF-Kit programs were different programs. Since then, it's a unique program, vcsn-tafkit. (usage, version): Be public. More details. (parse_args): Don't change argc/argv. Interpret --help and --version. (print): Strip automata. * libexec/vcsn-tafkit.cc (main): Adjust.
-
Akim Demaille authored
Issue #62: avoid assert/abort when interacting with the user. * libexec/parse-args.cc, libexec/vcsn-tafkit.cc: Use vcsn::require. Avoid std::endl. Improve `-h`.
-
Akim Demaille authored
The fact that a dyn::expression is actually a dyn::detail::value is a nuisance: ADL does not work for algorithms in dyn::. * vcsn/dyn/automaton.hh (automaton): Move from dyn::detail to dyn. * vcsn/dyn/context.hh (context): Move from dyn::detail to dyn. * vcsn/dyn/value.hh (dyn::detail::value): Rename as... (dyn::value_impl): this. * vcsn/dyn/algos.hh, vcsn/dyn/fwd.hh, lib/vcsn/algos/print.cc: Adjust. * tests/demo/prod-eval.cc: Simplify comments. In particular, don't expect specific values for the input automata.
-
Akim Demaille authored
* tests/demo/prod-eval.cc: Clean up. * doc/notebooks/C++-Library.ipynb: Update.
-
Akim Demaille authored
* vcsn/algos/a-star.hh, vcsn/algos/are-isomorphic.hh, * vcsn/algos/epsilon-remover-separate.hh, vcsn/algos/epsilon-remover.hh, * vcsn/algos/to-expression.hh: here.
-
Akim Demaille authored
This has proved to be troublesome in the past, and is about to become a nuisance with forthcoming changes in dyn. * vcsn/ctx/instantiate.hh, vcsn/ctx/lal_char_b.hh: Avoid `using namespace`, rather have `REGISTER` take care of these details.
-
- 27 Jun, 2016 5 commits
-
-
Akim Demaille authored
Issue #74. * doc/notebooks/polynomial.tuple.ipynb: New. * doc/notebooks/automaton.tuple.ipynb, * doc/notebooks/expression.tuple.ipynb: Work in Q.
-
Akim Demaille authored
* doc/notebooks/polynomial.operators.ipynb: `power` no longer exists.
-
Akim Demaille authored
Issue #73. * doc/notebooks/check-notebooks: Enable warnings. * doc/notebooks/automaton.tuple.ipynb: Update. * doc/notebooks/expression.tuple.ipynb: New.
-
Akim Demaille authored
* Dockerfile: here.
-
Clément Gillard authored
Check that the names we give to `%context` and `%automaton` are valid identifier names before registering them. While at it, make `%demo?` work. * python/vcsn/ipython.py: Here.
-
- 26 Jun, 2016 3 commits
-
-
Akim Demaille authored
* NEWS.txt: Rename as... * NEWS.md: this. Fix a few compliance issues. * Makefile.am: Adjust.
-
Akim Demaille authored
* libexec/vcsn-score: here.
-
Akim Demaille authored
It is quite unclear to me whether this is a real improvement, or not. Well, let's say it _is_ an improvement, but it's not sufficent. For instance on vcsn.automaton(''' context = "lal, q" $ -> 0 0 -> 1 <2+2>a 1 -> $''') we go from: 14.10-27: Q: invalid value: 2+2, unexpected + to: 14.10-27: Q: unexpected + while reading: 2+2 while reading: <2+2>a while reading automaton: digraph { vcsn_context = "lal, q" rankdir = LR edge [arrowhead = vee, arrowsize = .6] { node [shape = point, width = 0] I0 F1 } node [shape = circle, style = rounded, width = 0.5] I0 -> 0 0 -> 1 [label = "<2+2>a"] 1 -> F1 } See issue #62. * build-aux/bin/bindings-gen, vcsn/misc/stream.hh: Provide more context in parsing errors.
-
- 24 Jun, 2016 9 commits
-
-
Akim Demaille authored
* doc/notebooks/!Read-me-first.ipynb: Prefer `e` for expressions. Provide links to the documentation.
-
Akim Demaille authored
* README.txt: Convert into... * README.md: this, with pandoc. * internship.txt: Update.
-
Akim Demaille authored
* python/vcsn/demangle.py: here.
-
Akim Demaille authored
* vcsn/dyn/value.hh: here. Also, std::move on a const& does not make a lot of sense.
-
Akim Demaille authored
* TODO.txt: here.
-
Clément Gillard authored
Add a test for IPython's ability to import vcsn. * tests/unit/ipython.chk, tests/unit/ipython.ipy: Test IPython. * tests/unit/local.mk: Add test to suite.
-
Simplify the search for a good Pylint candidate. See #61. * tests/unit/pylint.chk: Here.
-
Akim Demaille authored
Closes #73. * doc/notebooks/expression.infiltrate.ipynb, * doc/notebooks/expression.lift.ipynb, * doc/notebooks/expression.lweight.ipynb, * doc/notebooks/expression.rweight.ipynb, * doc/notebooks/expression.shuffle.ipynb: Tweak to my taste.
-
See #73. Add missing documentation files about expressions' functions. While at it, fix wrong substitutions from ee92429c. * doc/notebooks/expression.infiltrate.ipynb, * doc/notebooks/expression.lift.ipynb, * doc/notebooks/expression.lweight.ipynb, * doc/notebooks/expression.rweight.ipynb, * doc/notebooks/expression.shuffle.ipynb: New files * doc/notebooks/Algorithms.ipynb, * doc/notebooks/check-notebooks, * doc/notebooks/local.mk: Update. * vcsn/algos/weight.hh: Fix substitutions.
-
- 23 Jun, 2016 7 commits
-
-
Akim Demaille authored
* vcsn/ctx/instantiate.hh: Add expression.infiltrate and expression.inductive. fixup! ctx: precompile expression.infiltrate
-
Akim Demaille authored
* vcsn/ctx/instantiate.hh (register_expression_functions): New.
-
Akim Demaille authored
* vcsn/algos/inductive.hh: Use static-if where appropriate to report cases where we cannot run the corresponding algorithm.
-
Akim Demaille authored
See issue #86. * vcsn/algos/conjunction.hh: here. * tests/python/to-expansion.py: Disable the tests we can no longer run.
-
Akim Demaille authored
And unused variables/types. * vcsn/algos/conjunction.hh, vcsn/algos/inductive.hh, * vcsn/core/automatonset.hh, vcsn/ctx/instantiate.hh: here.
-
Akim Demaille authored
We cannot eliminate spontaneous transitions in automata weighted in Poly, as they may need an abs operation, which it doesn't provide yet. See issue #28. * vcsn/weightset/polynomialset.hh (abs): New. * vcsn/labelset/nullableset.hh (mul): New. * tests/python/proper.dir/lan-poly.1.in.gv, * tests/python/proper.dir/lan-poly.1.out.gv, * tests/python/proper.dir/lan-poly.2.fail.gv, * tests/python/proper.dir/lan-poly.3.fail.gv: New. * tests/python/proper.py: Use them.
-
Akim Demaille authored
Put test cases in files. * tests/python/proper.dir/lan-b.in.gv, * tests/python/proper.dir/lan-b.out.gv, * tests/python/proper.dir/lan-qr.in.gv, * tests/python/proper.dir/lan-qr.out.gv, * tests/python/proper.dir/lan-z.fail.gv, * tests/python/proper.dir/lan-z.in.gv, * tests/python/proper.dir/lan-z.out.gv, * tests/python/proper.dir/lao-r.in.gv, * tests/python/proper.dir/lao-r.out.gv, * tests/python/proper.dir/law-b.in.gv, * tests/python/proper.dir/law-b.out.gv, * tests/python/proper.dir/law-r.in.gv, * tests/python/proper.dir/law-r.out.gv: New. * tests/python/local.mk, tests/python/proper.py: Adjust.
-
- 22 Jun, 2016 3 commits
-
-
Clément Gillard authored
Run the magic `%matplotlib inline` on load of `vcsn.score` so the user doesn't have to allow graphs explicitely to get an output while using `%plot`. While at it, print an error message when running `%plot` outside of a notebook. See 84a1bdca. * python/vcsn/score.py: Run magic.
-
Akim Demaille authored
* libexec/vcsn-score (nfail): New. Use it.
-
Akim Demaille authored
* TODO.txt: Moved as issue #85.
-