toml/toml.bend fails
raw source on the hub · import 0xb618c7a3b7cc335880c0ff4267b5bd98/toml/toml.bend as Toml
toml/toml: ez's view of a TOML document: sections of string pairs. ez's
ledger and lock are documents of tables of string (and one boolean) pairs,
and every command reads them as a list of sections, each a header's
segments and the pairs under it. Reading and writing TOML are eztoml's:
parse walks the document eztoml's parse reads into that list, and
normal writes a document through eztoml's render. Only eztoml's
interface, main.bend, is imported; that a document it renders reads back
as itself is its TOML-RT-1, trusted as EZ-TRUST-8.
The rest is ez's own and pure: finding a key's value, a header's segments,
and the text of a section in the form ez assembles a document in before
eztoml writes it (render). That form is the TOML ez wrote before eztoml
0.4, so an old ledger or lock and a new one read to the same sections.
2 imports
import Base import 0xb652b3fca73c8a28ae49abaa395bb530/main.bend as E
The reader could not load this file (at 0xb652b3fca73c8a28ae49abaa395bb530/main.bend:226). What bend.ts says:
Error:
- expected : a name (words joined by dots, got 'basic.cls.92')
- observed : 'basic.cls.92'
Location:
225 | # backslash
226>| def basic.cls.92(hit: Bool, +uu: U32) -> BK:
| ^^^^^^^^^^^^
227 | match hit: