Jarvis Carroll d323fb0f52 Add special anonymous variant syntax
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.
2026-06-05 03:08:38 +00:00
2026-05-27 21:49:30 +09:00
2026-05-14 11:01:37 +09:00
2025-04-16 16:07:45 +09:00
2026-06-05 03:08:38 +00:00
2026-05-10 19:35:20 +09:00
2024-03-27 14:45:50 +09:00
2024-03-27 14:45:50 +09:00
2026-05-14 11:01:37 +09:00
S
Description
No description provided
MIT 1.3 MiB
Languages
Erlang 100%