Changelog for tree-sitter-0.4.0.0
v0.4.0.0
-
Unmarshalhas been split intoUnmarshal,UnmarshalAnn, andUnmarshalField, with the first newly taking type constructors of kind* -> *.UnmarshalAnncan be used to unmarshal annotation types relating to the entire node, andUnmarshalFieldcan be used to unmarshal fields of zero or more nodes. -
UnmarshalAnninstances are provided for thesemantic-sourcetypesLoc,Range, andSpan. -
AST datatypes are generated with
GHC.Generics.:+:for anonymous sums in field positions instead ofEithers. This makes it possible to define typeclasses over them at kind* -> *instead of only at kind*. -
AST datatypes receive derived instances of
Foldable,Functor,Generic,Generic1, andTraversable.
v0.3.0.0
Nodehas anodeIsExtrafield stating whether it was produced via theextrasrule.
v0.2.1.0
- Add
TreeSitter.RangeandTreeSitter.Span.
v0.2.0.0
- Add unmarshalling support with
TreeSitter.Unmarshal. - Removes pointer-only constructors for bridged C types.
v0.1.0.0
- Initial release.