smart_parser 2.2.0
smart_parser: ^2.2.0 copied to clipboard
All in one, a generator of recursive descent PEG parsers, tokenizers, and token stream parsers.
2.2.0 #
- Minor improvements in code generation.
- The allocation of local variable names has been changed.
2.1.4 #
- Optimized the code generated for the
ProductionExpressionexpression. - Minor improvements in code generation.
- Minor corrections in
tool/README.in.mdfile. - Optimized the code generated for the
OptionalExpressionexpression.
2.1.3 #
- Optimized the code generated for the
TokenExpressionexpression.
2.1.2 #
- Change in local variable name generation.
- Changes in parser grammar files.
- The expression code generator has been refactored.
2.1.1 #
- The JSON token stream parser example has been refactored to produce a JSON abstract syntax tree.
- Added JSON AST example file
example/json_ast.dart. - Added JSON AST analyzing example file
example/analyze_json.dart. - Optimized the code generated for the
TokenExpressionexpression. - Optimized the code generated for the
SequenceExpressionexpression. - Changed generation of local variables in the
SequenceExpressionexpression. - Changed generation of local variable name in the
whileexpressions.
2.1.0 #
- Renamed
Printerclass toExpressionPrinter - Minor adjustments have been made to:
ExpressionAnalyzer,ExpressionPrinter,ExpressionTypeResolver,GrammarGenerator. - Change in local variable name generation.
- The expression code generator has been refactored.
2.0.7 #
- Optimized code generation for the expression
MatchExpression.
2.0.6 #
- Optimized generation of semantic value code.
2.0.5 #
- Optimized code generation for the expression
SequenceExpression. - Optimized code generation for the expression
ValueExpression.
2.0.4 #
- Optimized code generation for the expression
SequenceExpressionin the case where the last expression of the sequence assigns the semantic value\$and returns the result.
2.0.3 #
- Optimized code generation for the expression
OrderedChoiceExpressionin the case where all alternatives areTokenChoiceExpressionexpressions. - Fixed a bug in the code generation of the
SequenceExpressionexpression.
2.0.2 #
- Fixed a bug in the code generation of the
OrderedChoiceExpressionexpression.
2.0.1 #
- A small change (improvement) in the token parsing algorithm and in the algorithm for the "nextToken()" function.
- Fixed a bug in the code generation of the
@matchexpression. - Minor changes (improvements) in code generation algorithms.
2.0.0 #
- Breaking changes. The way input data is accessed has been changed.
- Breaking changes. Changes to the error generation system.
- Added meta expression
@matchfor parsing case-insensitive data. - Added stream token parser generator.
1.0.5 #
- Minor improvements have been made to various generators.
1.0.4 #
- Implemented a printer for expressions.
- Minor improvements have been made to the
ExpressionAnalyzer. - Minor improvement in code generated for the
Sequenceexpression.
1.0.3 #
- Minor changes have been made to the
tool/README.in.mdfile. - Minor improvements have been made to the
ExpressionAnalyzer. - Minor improvement to the code generated for error handling.
1.0.2 #
- Minor changes have been made to the
tool/README.in.mdfile. - Minor improvement (in speed and size) to the code generated for error handling.
- The algorithm for generating the
README.mdfile has been changed.
1.0.1 #
- Fixed a minor bug with the use of the reused value cache at the beginning of production parsing.
- Added the
finaltype modifier to semantic value variable declarations when the type value is specified explicitly. According to this principle, all variables assigned during declaration must be immutable. - Fixed typos in
tool/README.in.mdfile. - Minor improvement (in speed and size) to the code generated for error handling.
1.0.0 #
- A minor improvement has been made to the grammar file
example/json_parser.grammar. - Improved quality of generated code
1.0.0-beta.4 #
- Google changed the source code formatting algorithms in the new version of the Dart SDK. This is causing Google to downgrade the software's rating. To prevent Google from downgrading this software, additional formatting was performed. Apparently, everything will have to be reformatted endlessly after the release of each new version of the Dart SDK.
1.0.0-beta.3 #
- Fixed issues with Google's requirements for packages hosted on pub.flutter-io.cn to prevent this software from being rating downgrade.
1.0.0-beta.2 #
- Fixed a bug in a sequence expression with a single child expression. Added generation of restore and update procedures in the
accepthandler.
1.0.0-beta.1 #
- Initial release.