parser_tool 0.1.1
parser_tool: ^0.1.1 copied to clipboard
Parser tool is a real-time compiler and runtime engine for strongly typed PEG parsers
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add parser_toolWith Flutter:
$ flutter pub add parser_toolThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
parser_tool: ^0.1.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:parser_tool/expressions.dart';
import 'package:parser_tool/grammar.dart';
import 'package:parser_tool/grammar_builder.dart';
import 'package:parser_tool/grammar_compiler.dart';
import 'package:parser_tool/grammar_helpers.dart';
import 'package:parser_tool/grammar_printer.dart';
import 'package:parser_tool/parse.dart';