Skip to content

Releases: CodingCellist/idris2-dot-parse

Added some filtering utils

31 May 10:23
v0.2.3
121a46b
Compare
Choose a tag to compare

This adds some structure and utility functions for filtering the graphs for e.g. invisible edges.
Curently, it is limited to explicitly invisible edges, i.e. edges following an edge [style=invis] statement will not be filtered. Contributions (also for other stuff) welcome!

Public export the interfaces for converting to the AST

12 Apr 11:47
v0.2.2
360a0bf
Compare
Choose a tag to compare

In the previous release, all interfaces were export only. This meant that they could not be implemented outside of the library sources, which was obviously not the intended behaviour for the interfaces which indicate that a type can be converted to a DOT AST representation.

Use built-in `Show ParsingError`

11 Apr 09:23
v0.2.1
7847115
Compare
Choose a tag to compare
Pre-release

This updates the library to work with the (at the time of writing) latest commit of Idris2.

New AST, parser, and interfaces

08 Apr 14:16
v0.2.0
12b8ed6
Compare
Choose a tag to compare

This updates the AST to be more restrictive as to what goes where (previously you could put any DOT anywhere, e.g. a subgraph where there should be a keyword). Along with this, the parser obviously needed changing to produce this new AST.

Interfaces (yes, plural) for converting to the new AST types have been added, along with Show and Eq implementations.

Hopefully this is more convenient to work with. GLHF!

Intermediary release with both ASTs

08 Apr 10:24
v0.1.5
843796b
Compare
Choose a tag to compare
Pre-release

This is an intermediary release where both the old and new AST exist.

  • AST and ASTv2 exist at the same time
  • DOTAble for the stuff in ASTv2; to help with conversion
  • there are reader functions for both ASTs
  • Show instances for (hopefully) all your needs
  • new interfaces to convert to ASTv2

/!\ This release is mainly in case anyone needs/relies on the old AST, and
/!\ should not be used otherwise. Please use the latest release if at
/!\ all possible.

You too can be a `DOT`

05 Apr 10:03
v0.1.2
935525e
Compare
Choose a tag to compare

This adds the DOTAble interface, which allows types to specify that they can be converted into a DOT AST (provided they implement the required toDOT function, of course).

Now with `Show DOTError`

05 Apr 10:02
v0.1.1
3bf4840
Compare
Choose a tag to compare
v0.1.1

readDOTFile uses HasIO; implemented Show DOTError

Initial experimental release

02 Nov 13:05
v0.1.0
b376f01
Compare
Choose a tag to compare

I don't really know how this works, but I think the package should now be in a usable state so I guess it's good practice to make a release?... GL;HF y'all!