Repository navigation
m2-syn 0.4.0
This release replaces the flat generated CST schema with explicit nested
strutuct! declarations and substantially expands semantic visitor dispatch.
Highlights:
- Adds semantic operator, assignment, lambda, member-access, indexing, control,
and related specialization families. - Keeps
Delimited,Punctuated, and ordinary vectors as transparent storage;
delimiter boundaries are presented explicitly asDelimiterleaves. - Adds
CellTokenStream,CellTokenTree, andCellTokenGroupfor framed parser
tokens while retaining the common lexical token atoms. - Treats adjacency as a binary operator and adds explicit augmented operators.
- Canonicalizes
Token!punctuation across quoted fragments and arbitrary Rust
token spacing. - Adds the
ProcMacrointerface andLiteralReturnTypestransformation example.
Breaking migration:
- Replace
PunctPair<L, P, R>withSeparatedPair<T, P>. - Do not construct
Punctuatedfor singleton values; it now requires a real
separator. - Update generated-node matches, visitors, folds, and constructors to the new
nested semantic categories. - Consume framed cells through
CellTokenStreamandCellTokenTree, projecting
throughto_token_streamorinto_token_streamwhen lexical tokens are
required.
See CHANGELOG.md for the complete release notes.