peg2 0.2.11 copy "peg2: ^0.2.11" to clipboard
peg2: ^0.2.11 copied to clipboard

discontinuedreplaced by: peg

PEG+ (Parsing expression grammar) parser source code generator, command line tool.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add peg2

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  peg2: ^0.2.11

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:peg2/expression_analyzers.dart';
import 'package:peg2/expressions.dart';
import 'package:peg2/general_parser_generator.dart';
import 'package:peg2/grammar.dart';
import 'package:peg2/grammar_analyzers.dart';
import 'package:peg2/matcher_generators.dart';
import 'package:peg2/matchers.dart';
import 'package:peg2/postfix_parser_generator.dart';
import 'package:peg2/utils.dart';
1
likes
60
pub points
0%
popularity

Publisher

unverified uploader

PEG+ (Parsing expression grammar) parser source code generator, command line tool.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

args, code_builder, dart_style, lists, meta, path, strings

More

Packages that depend on peg2