bullseye_lang 0.0.0

bullseye #

Pub travis ci

A functional language frontend for the Dart VM.

For info, see the project page.

Use this package as an executable

1. Install it

You can install the package from the command line:

$ pub global activate bullseye_lang

2. Use it

The package has the following executables:

$ blsc
$ bullseye

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  bullseye_lang: ^0.0.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:bullseye_lang/bullseye_lang.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Oct 16, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.5.1
  • pana: 0.12.21


Detected platforms: Flutter, other

Primary library: package:bullseye_lang/bullseye_lang.dart with components: io.

Health issues and suggestions

Document public APIs. (-0.49 points)

516 out of 525 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Fix bin/blsc.dart. (-1 points)

Analysis of bin/blsc.dart reported 2 hints:

line 4 col 8: Unused import: 'package:bullseye_lang/src/ast/ast.dart'.

line 136 col 7: DO use curly braces for all flow control structures.

Fix bin/bullseye.dart. (-1 points)

Analysis of bin/bullseye.dart reported 2 hints:

line 4 col 8: Unused import: 'package:kernel/kernel.dart'.

line 7 col 8: Unused import: 'blsc.dart'.

Fix lib/src/compiler/expression.dart. (-1 points)

Analysis of lib/src/compiler/expression.dart reported 2 hints:

line 442 col 9: DO use curly braces for all flow control structures.

line 568 col 57: This function has a return type of 'bool', but doesn't end with a return statement.

Fix additional 4 files with analysis or formatting issues. (-2.50 points)

Additional issues in the following files:

  • lib/src/compiler/kernel.dart (2 hints)
  • lib/src/compiler/type.dart (1 hint)
  • lib/src/text/parser/expression.dart (1 hint)
  • lib/src/text/parser/pratt.dart (1 hint)

Maintenance issues and suggestions

Provide a file named CHANGELOG.md. (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

Support latest dependencies. (-10 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency (kernel).

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and bullseye_lang.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

The package description is too short. (-1 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.2.2 <3.0.0
args ^1.0.0 1.5.2
cli_repl ^0.2.0 0.2.0+1
front_end ^0.1.6 0.1.18 0.1.27
glob ^1.0.0 1.2.0
io ^0.3.2 0.3.3
kernel 0.3.18 0.3.18 0.3.27
package_resolver ^1.0.0 1.0.10
path ^1.0.0 1.6.4
source_span ^1.0.0 1.5.5
string_scanner ^1.0.0 1.0.5
symbol_table ^2.0.0 2.0.0
vm_service_lib ^3.0.0 3.22.2+1
Transitive dependencies
async 2.4.0
charcode 1.1.2
collection 1.14.12
http 0.12.0+2
http_parser 3.1.3
js 0.6.1+1
meta 1.1.7
node_interop 1.0.3
node_io 1.0.1+2
package_config 1.1.0
stream_transform 0.0.19
term_glyph 1.1.0
typed_data 1.1.6
yaml 2.2.0
Dev dependencies
pedantic ^1.0.0 1.8.0+1