This repository was archived by the owner on Jan 27, 2026. It is now read-only.
Repository navigation
0.3.0
CHANGES:
Features
- Add
Customtoken type variant which takes a styling, for tokens without particular semantics. - Add
Formatting.Elementthat supersedesFormatting.Tree. - Add
Formatting.Interfaces.TO_ELEMENTinterface which establishes the contract to convert to a formatting element that is used by formatting and printing utilitary functions such asformatandIO.print_formatted. - Expose the
Int8module that is used byColor. - Add
Token.numberto easily construct a number literal token.
Removed
- Remove
Formatting.Tree,Formatting.TOKENIZABLEand its associated functions. UseFormatting.Elementinstead. - Remove the
Preludemodule. It has merged with the coreAnsifmtmodule. - Remove
print_formattedalias from the prelude. The function can still be found asIO.print_formatted. - Remove
make_stylingalias from the prelude. The function can still be found asStyling.create.
Internal
- Renamed
UtilstoInternal. Formattingis now a directory instead of a file containing all its submodules.- Added
List.intersperseandList.singleton(used inFormatting.Element). - Added
Bool.tautology(used inFormatting.Element).