G3Kappa / Ergo

Other
4 stars 0 forks source link

Abstract First-Class Citizens #4

Closed G3Kappa closed 2 years ago

G3Kappa commented 2 years ago

All abstract terms can be represented canonically as a base term.

There should be an interface that allows defining new types in C# as long as a conversion to and from their canonical form is provided. This interface would also expose the parser, which is currently not extensible, for the purposes of parsing the new type.

After this change is implemented, Dicts and possibly Lists should be rewritten to be abstract first class citizens.

G3Kappa commented 2 years ago

Infrastructure