This repository was archived by the owner on Aug 28, 2023. It is now read-only.
This release introduces improved performance for the Lexed pattern, improved parse-tree formatting options and the new recursion control feature which allows limiting the maximum level of recursion when parsing, hence avoiding runtime panics.
Added
Parser.MaxRecursionLevelspecifying the maximum tolerated recursion level.Lexed.MinLenspecifying the minimum expected length of the lexed token.FragPrintOptions.Formatspecifying the formatting of a parse-tree node (optionally both header and body).
Changed
Lexed.Fnchanged its type tofunc(index uint, cursor llparser.Cursor) bool.
Removed
FragPrintOptions.HeadFmtwas replaced by the newFragPrintOptions.Formatoption.
Fixed
- Fixed a few small documentation issues.