masm 1.0.0-dev+1

  • Installing
  • Versions
  • 0

dart_masm #

Pub transformer that compiles .asm files to .exe.

About #

I created this for use with my experiment WinDart, to have Dart files in my web directory compiled to MASM Assembly, and then assembled and linked to .exe files.

Installation #

You will need MASM32 installed, and it to be installed to C:\masm32. Alternatively, you can pass an masm_path in the configuration, and ML and LINK will be run from that directory.

  masm: ^1.0.0-dev needs

Usage #

This library is a transformer, and supports some options.

- windart
- masm

Supported options:

  • run (bool) - If set to true, then the executable will be run on completion.
  • run_args (List) - Can be included to pass them to resulting executable.
  • ml (Map) - Options to pass to ML. Option values should be strings, or true.
  • link - Same as ml (above), but these will be passed to LINK.
  • masm_path (String) - The path to the MASM installation. Default: "C:\\masm32"


run: false
  c: true
  coff: true
  Cp: true
  LIBPATH: "C:\\masm32\\lib"

Use this package as a library

1. Depend on it

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

  masm: ^1.0.0-dev+1

2. Install it

You can install packages from the command line:

with pub:

$ pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:masm/masm.dart';
Version Uploaded Documentation Archive
1.0.0-dev+1 Jun 29, 2016 Go to the documentation of masm 1.0.0-dev+1 Download masm 1.0.0-dev+1 archive
1.0.0-dev Jun 29, 2016 Go to the documentation of masm 1.0.0-dev Download masm 1.0.0-dev archive
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.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Analysis issues and suggestions

Support Dart 2 in pubspec.yaml.

The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see

Maintenance issues and suggestions

Make sure dartdoc successfully runs on your package's source files. (-10 points)

Dependencies were not resolved.