jison2dart 0.2.0

Dart native js
Flutter Android iOS web

Generate Dart parsers using Jison based on Bison parser generator

0
likes
75 / 110
pub points
56 %
popularity

We analyzed this package on Oct 27, 2020, and awarded it 75 pub points (of a possible 110):

Follow Dart file conventions
15 / 20

10/10 points: Provide a valid pubspec.yaml

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:53:5

   ╷
53 │ <li><a href="http://www.dartdocs.org/documentation/jison2dart/0.2.0">API Reference</a></li>
   │     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
0 / 20

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 1 out of 118 API elements (0.8 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 4 issues. Showing the first 2:

INFO: Prefer using /// for doc comments.

lib/jison2dart.dart:1:1

   ╷
1  │ ┌ /** 
2  │ │  * jison2dart.dart
3  │ │  *
4  │ │  * Purpose:
5  │ │  *
6  │ │  * Description:
7  │ │  *
8  │ │  * History:
9  │ │  *    24/11/2016, Created by jumperchen
10 │ │  *
11 │ │  * Copyright (C) 2016 Potix Corporation. All Rights Reserved.
12 │ └  */
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/jison2dart.dart

INFO: Unnecessary new keyword.

lib/jison2dart.dart:38:12

   ╷
38 │     return new ParserLocation(firstLine, lastLine, firstColumn, lastColumn);
   │            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/jison2dart.dart

Support up-to-date dependencies
20 / 20

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

No dependencies.

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

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

0
likes
75
pub points
56%
popularity

Generate Dart parsers using Jison based on Bison parser generator

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

tomyeh@rikulo.org

License

MIT (LICENSE)

More

Packages that depend on jison2dart