parser_tool 0.1.0 parser_tool: ^0.1.0 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_tool
With Flutter:
$ flutter pub add parser_tool
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
parser_tool: ^0.1.0
Alternatively, 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_heplers.dart';
import 'package:parser_tool/grammar_printer.dart';
import 'package:parser_tool/parse.dart';