smart_parser 2.2.0 copy "smart_parser: ^2.2.0" to clipboard
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 ProductionExpression expression.
  • Minor improvements in code generation.
  • Minor corrections in tool/README.in.md file.
  • Optimized the code generated for the OptionalExpression expression.

2.1.3 #

  • Optimized the code generated for the TokenExpression expression.

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 TokenExpression expression.
  • Optimized the code generated for the SequenceExpression expression.
  • Changed generation of local variables in the SequenceExpression expression.
  • Changed generation of local variable name in the while expressions.

2.1.0 #

  • Renamed Printer class to ExpressionPrinter
  • 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 SequenceExpression in 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 OrderedChoiceExpression in the case where all alternatives are TokenChoiceExpression expressions.
  • Fixed a bug in the code generation of the SequenceExpression expression.

2.0.2 #

  • Fixed a bug in the code generation of the OrderedChoiceExpression expression.

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 @match expression.
  • 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 @match for 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 Sequence expression.

1.0.3 #

  • Minor changes have been made to the tool/README.in.md file.
  • 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.md file.
  • Minor improvement (in speed and size) to the code generated for error handling.
  • The algorithm for generating the README.md file 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 final type 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.md file.
  • 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 accept handler.

1.0.0-beta.1 #

  • Initial release.
0
likes
160
points
465
downloads

Publisher

unverified uploader

Weekly Downloads

All in one, a generator of recursive descent PEG parsers, tokenizers, and token stream parsers.

Repository (GitHub)
View/report issues

Topics

#parser-generator #parsing #peg

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

simple_sparse_list, source_span, strings, unicode

More

Packages that depend on smart_parser