- Breaking Change:
<raw />
is now passed the fulloption
object, rather than justoption.text
. This change was made in response to the understanding that some phrases need to depend upon the behavior already-parsed phrases, by accessing theresult
object. Existing code using<raw />
should replace any references in thefunc
function to the argumentinput
with references toinput.text
.
- The
describe
function of<dynamic />
is now passed a second argument, the fulloption
object. This may be useful if the function must reference the currentresult
.
decorate
is now limited by default. That is, if a<literal />
parses an input without decoration, it will not also attempt to parse the decorated input.
- Add the
multiplier
property, which can be used on any phrase. It multiplies the score of its results by a set amount. Useful to adjust the score of phrases without getting rid of their nuance.
- Switch Elliptical to use Lazy compilation. Individual phrases will not be compiled until they are actually parsed. This behavior can be switched off on a per-phrase basis by setting
lazy: false
on the phrase object. This slightly decreases first-parse performance, but dramatically speeds up compilation.
- Initial 1.0.0 Release (all future changes will be fully logged)