AlgebraicJulia / AlgebraicJulia/DiagrammaticEquations.jl

Move away from symbols

Offen
#66 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Julia
Sterne
20
Forks
4
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Currently, DiagrammaticEquations heavily depends on using symbols for:

1. Sorts
2. Functions
3. Variables

Each of these can be transitioned to a more expressive data structure.

1. For sorts, we should use elements of an algebraic data type, as in #64. These can be serialized via intertypes.
2. For functions, we should use real Julia functions, which are overloaded for `(Sort...) -> Sort \/ Error` for type inference purposes. These can be serialized as fully-qualified module + name.
3. For variables, we should use `Path`s from Dtries. These can be serialized as vectors of symbols.

This transition is orthogonal to e-graphs/symbolicutils/decaexprs/decapodeacsets; all of these can transition away from symbols.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.