- 05 Jul, 2018 9 commits
-
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
This means that the examples currently won't work, since the new interface is not implemented for other functors besides powerset.
-
Hans-Peter Deifel authored
This exists in parallel to the old registeredFunctors list right now, but will replace it once it is fully used.
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
This is an existential that can wrap any functor that implements the refinement interface. It will be used to do proper desorting in the future, but right now it's a big hack to support the old infrastructure while slowly migrating to new-style functors.
-
Hans-Peter Deifel authored
Since the tests for `printSorts` were accidentally disabled, it had several bugs: - No newlines between table rows - Non-friendly output of the `Sort` data type - Crash when trying to print empty functor expression
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
-
- 04 Jul, 2018 3 commits
-
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
This gets hairy pretty fast... In contrast, keeping the inner functor type universal and using existentials only when needed allows to drop in different existential type in different places (e.g tests).
-
- 03 Jul, 2018 6 commits
-
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
doctest doesn't respect the `default-extensions` field from the cabal file, so we previously had to put every extension at the start of each and every file so that doctests would compile. Using the `cabal-doctest` package, we can pass the right options to `doctest` at build time and move extension declarations to the cabal file.
-
Hans-Peter Deifel authored
This will allow more flexibility and a cleaner parsing implementation down the line.
-
- 26 Jun, 2018 2 commits
-
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
-
- 25 Jun, 2018 4 commits
-
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
This means that "names" (e.g node labels for FixedProduct) are now parsed with the `lexeme` combinator (which consumes trailing whitespace).
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
This improves parser errors by a wide margin, but requires all functor expressions to be distinguishable with one token look ahead. This is currently the case, but we may need to reconsider this issue.
-
- 19 Jun, 2018 2 commits
-
-
Hans-Peter Deifel authored
This should reduce the build time in CI drastically.
-
Hans-Peter Deifel authored
-
- 18 Jun, 2018 1 commit
-
-
Hans-Peter Deifel authored
Switches from X^G to G^X. The former would have been the syntax for a mapping from the monoid, not into the monoid...
-
- 12 Jun, 2018 7 commits
-
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
Unfortunately, moving the GHC-extension declaration to the cabal file broke our doctests...
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
We now try to parse each functor and backtrack if necessary. This allows individual functors to begin with the same symbol.
-
Hans-Peter Deifel authored
I use some extensions so often that it's tedious to put them into each individual file.
-
Hans-Peter Deifel authored
-
- 11 Jun, 2018 1 commit
-
-
Hans-Peter Deifel authored
This switches the parser for functor expressions (not yet morphisms) from a YAML based one to a custom one, making those expressions much more readable and giving individual functors greater flexibility to define their own syntax.
-
- 05 Jun, 2018 5 commits
-
-
Hans-Peter Deifel authored
processQueue was missing a 'while' loop around everything. With this, the algorithm computes the correct result for example/example.yaml.
-
Hans-Peter Deifel authored
Yeah... leaving FIXMEs in the code and wondering why it doesn't work.
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
The refinement algorithm is now complete, but (of course) sill buggy.
-
Hans-Peter Deifel authored
-