d323fb0f52e3f8a4bfe6c1dc7a7df62089026e0f
This is outside of the scope of the sophia parser, but is a simple generalization to 'sophia terms' to make them able to represent any FATE term anonymously. We also parse these anonymous variant expressions without type info, since it is convenient for users to copy the output of one call into another call. Anonymous parsing of None and Some was also added, since new users would be shocked if this doesn't work, and advanced users will greatly appreciate that it does. The resulting FATE terms are still rendered as variant([0, 1], ...), since user defined types can also have [0, 1] as their arity list, and since automation and tooling programmers hate special case exceptions like that. Anonymous parsing of other Chain and AENS terms are not added, since anonymous variants already cover those types, so very little is gained by hard-coding such complex types into the term parser. Complex, version-specific compiler types are already supported by hakuzaru, in the form of the ACI/AACI; parsing without AACI, on the other hand, is intended to support language-agnostic communication using the primitives of FATE, and in general, variants in FATE are anonymous.
Description
Languages
Erlang
100%