front_end 0.1.0-alpha.5

  • README.md
  • Installing
  • Versions
  • 86

Front end for Dart

This package provides a low-level API for use by compiler back ends that wish to implement the Dart language. It is intended for eventual use by dev_compiler, dart2js, and the Dart VM. In addition, it will share implementation details with the analyzer package--this will be accomplished by having the analyzer package import (and re-export) parts of this package's private implementation.

End-users should use the [dartanalyzer][analyzercli] command-line tool to analyze their Dart code.

Integrators that want to write tools that analyze Dart code should use the [analyzer] package.

Note: The APIs in this package are in an early state; developers should be careful about depending on this package.

Use this package as a library

1. Depend on it

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


dependencies:
  front_end: "^0.1.0-alpha.5"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

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

3. Import it

Now in your Dart code, you can use:


      import 'package:front_end/front_end.dart';
  
Version Uploaded Documentation Archive
0.1.3 Jul 4, 2018 Go to the documentation of front_end 0.1.3 Download front_end 0.1.3 archive
0.1.2 Jun 26, 2018 Go to the documentation of front_end 0.1.2 Download front_end 0.1.2 archive
0.1.1 May 30, 2018 Go to the documentation of front_end 0.1.1 Download front_end 0.1.1 archive
0.1.0 May 14, 2018 Go to the documentation of front_end 0.1.0 Download front_end 0.1.0 archive
0.0.1 Oct 17, 2016 Go to the documentation of front_end 0.0.1 Download front_end 0.0.1 archive
0.1.0-alpha.12 Apr 30, 2018 Go to the documentation of front_end 0.1.0-alpha.12 Download front_end 0.1.0-alpha.12 archive
0.1.0-alpha.11 Mar 22, 2018 Go to the documentation of front_end 0.1.0-alpha.11 Download front_end 0.1.0-alpha.11 archive
0.1.0-alpha.10 Feb 14, 2018 Go to the documentation of front_end 0.1.0-alpha.10 Download front_end 0.1.0-alpha.10 archive
0.1.0-alpha.9 Feb 9, 2018 Go to the documentation of front_end 0.1.0-alpha.9 Download front_end 0.1.0-alpha.9 archive
0.1.0-alpha.8 Feb 2, 2018 Go to the documentation of front_end 0.1.0-alpha.8 Download front_end 0.1.0-alpha.8 archive

All 18 versions...

Analysis

We analyzed this package on Jul 14, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
94 / 100
Health:
Code health derived from static analysis. [more]
96 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
52 / 100
Overall score:
Weighted score of the above. [more]
86
Learn more about scoring.

Platforms

Detected platforms: Flutter, other

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

Suggestions

  • Maintain CHANGELOG.md.

    Changelog entries help clients to follow the progress in your code.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 52 errors 3 warnings 56 hints.

    Strong-mode analysis of lib/src/base/api_signature.dart failed with the following error:

    line: 8 col: 8
    Target of URI doesn't exist: 'package:convert/convert.dart'.

    Strong-mode analysis of lib/src/fasta/run.dart failed with the following error:

    line: 11 col: 8
    Target of URI doesn't exist: 'package:testing/testing.dart'.

    Similar analysis of the following files failed:

    • lib/src/fasta/testing/kernel_chain.dart (error)
    • lib/src/fasta/testing/scanner_chain.dart (error)
    • lib/src/fasta/util/link.dart (error)
    • lib/src/fasta/util/link_implementation.dart (error)
    • lib/src/incremental/file_state.dart (error)
    • lib/src/incremental/kernel_driver.dart (error)
    • lib/src/incremental_kernel_generator_impl.dart (error)
    • lib/src/multi_root_file_system.dart (error)
    • lib/src/fasta/kernel/body_builder.dart (warning)
    • lib/src/fasta/kernel/kernel_enum_builder.dart (warning)
    • lib/src/fasta/kernel/kernel_shadow_ast.dart (warning)
    • lib/memory_file_system.dart (hint)
    • lib/src/base/errors.dart (hint)
    • lib/src/base/flat_buffers.dart (hint)
    • lib/src/base/jenkins_smi_hash.dart (hint)
    • lib/src/base/uri_kind.dart (hint)
    • lib/src/codegen/tools.dart (hint)
    • lib/src/fasta/colors.dart (hint)
    • lib/src/fasta/command_line.dart (hint)
    • lib/src/fasta/deprecated_problems.dart (hint)
    • lib/src/fasta/fasta.dart (hint)
    • lib/src/fasta/loader.dart (hint)
    • lib/src/fasta/parser/parser_main.dart (hint)
    • lib/src/fasta/scanner.dart (hint)
    • lib/src/fasta/scanner/utf8_bytes_scanner.dart (hint)
    • lib/src/fasta/testing/validating_instrumentation.dart (hint)
    • lib/src/fasta/type_inference/type_schema.dart (hint)
    • lib/src/fasta/uri_translator_impl.dart (hint)
  • Package is pre-release.

    Pre-release versions should be used with caution, their API may change in breaking ways.

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use front_end.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.12.0 <2.0.0-dev.infinity
kernel 0.3.0-alpha.2 0.3.0-alpha.2 0.3.3
path ^1.3.9 1.6.1
source_span ^1.2.3 1.4.0
Transitive dependencies
args 0.13.7 1.4.3
charcode 1.1.2
logging 0.11.3+1
Dev dependencies
json_rpc_2 ^2.0.4
mockito ^2.0.2
package_config ^1.0.0 1.0.3
stream_channel ^1.6.1
test ^0.12.0
test_reflective_loader ^0.1.0
web_socket_channel ^1.0.4