peg 6.0.4 copy "peg: ^6.0.4" to clipboard
peg: ^6.0.4 copied to clipboard

discontinued

Command line tool for generating a PEG (with some syntactic sugar) parsers

130/ 160
pub points
299
downloads

We analyzed this package 3 days ago, and awarded it 130 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

0 out of 0 API elements (100.0 %) have documentation comments.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Linux

  • ✓ macOS

  • ✓ Windows

These platforms are not supported:

Android

Cannot assign Android automatically to a binary only package.

iOS

Cannot assign iOS automatically to a binary only package.

Web

Cannot assign Web automatically to a binary only package.

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
args ^2.4.2 2.7.0 2.7.0
path ^1.8.3 1.9.1 1.9.1
simple_sparse_list ^0.1.4 0.1.4 0.1.4
source_span ^1.10.1 1.10.1 1.10.1
strings ^3.1.2 3.2.0 4.0.1
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.7 4.0.7
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
ffi - 2.1.4 2.1.4
meta - 1.17.0 1.17.0
posix - 6.0.3 6.0.3
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
unicode - 1.1.8 1.1.8

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^3.1.2` on strings does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions strings to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • UNDEFINED_METHOD - bin/peg.dart:54:25 - The method 'option' isn't defined for the type 'ArgResults'.
  • UNDEFINED_METHOD - bin/peg.dart:61:28 - The method 'option' isn't defined for the type 'ArgResults'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.24, Dart 3.9.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
130
points
299
downloads

Publisher

unverified uploader

Weekly Downloads

Command line tool for generating a PEG (with some syntactic sugar) parsers

Repository (GitHub)
View/report issues

Topics

#parser #parser-generator #peg #top-down-parser

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

args, path, simple_sparse_list, source_span, strings

More

Packages that depend on peg