Add look-ahead to custom syntax parser.
This commit is contained in:
@@ -23,6 +23,7 @@ Breaking changes
|
||||
* `Engine::on_progress` now takes `u64` instead of `&u64`.
|
||||
* The closure for `Engine::on_debug` now takes an additional `Position` parameter.
|
||||
* `AST::iter_functions` now returns `ScriptFnMetadata`.
|
||||
* The parser function passed to `Engine::register_custom_syntax_raw` now takes an additional parameter containing the _look-ahead_ symbol.
|
||||
|
||||
New features
|
||||
------------
|
||||
@@ -34,6 +35,7 @@ Enhancements
|
||||
|
||||
* Capturing a constant variable in a closure is now supported, with no cloning.
|
||||
* Provides position info for `debug` statements.
|
||||
* A _look-ahead_ symbol is provided to custom syntax parsers, which can be used to parse variable-length symbol streams.
|
||||
|
||||
|
||||
Version 0.19.7
|
||||
|
Reference in New Issue
Block a user