Pub transformer that compiles .asm files to .exe.
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.
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.
dependencies:
masm: ^1.0.0-dev needs
This library is a transformer, and supports some options.
transformers:
- windart
- masm
Supported options:
true
, then the executable will be run on completion.true
."C:\\masm32"
Defaults:
run: false
ml:
c: true
coff: true
Cp: true
link:
SUBSYTEM: CONSOLE
LIBPATH: "C:\\masm32\\lib"
Add this to your package's pubspec.yaml file:
dependencies:
masm: "^1.0.0-dev+1"
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 packages get
.
Check the docs for your editor to learn more.
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 |
|
|
1.0.0-dev | Jun 29, 2016 |
|
|
We analyzed this package on Apr 23, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Popularity:
Describes how popular the package is relative to other packages.
[more]
|
0 | / 100 |
Health:
Code health derived from static analysis.
[more]
|
98 | / 100 |
Maintenance:
Reflects how tidy and up-to-date the package is.
[more]
|
14 | / 100 |
Overall score:
Weighted score of the above.
[more]
|
32 |
Detected platforms: Flutter, other
Primary library:
package:masm/masm.dart
with components:io
,isolate
,build
.
Maintain CHANGELOG.md
.
Changelog entries help clients to follow the progress in your code.
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.
Maintain an example.
Create a short demo in the
example/
directory to show how to use this package. Common file name patterns include:main.dart
,example.dart
or you could also usemasm.dart
.
Fix analysis and formatting issues.
Analysis or formatting checks reported 3 hints.
Run
dartfmt
to formatlib/masm.dart
.
Package | Constraint | Resolved | Available |
---|---|---|---|
Direct dependencies | |||
barback | >=0.15.2 <1.0.0 | 0.15.2+15 | |
merge_map | >=1.0.0 <2.0.0 | 1.0.0 | |
path | >=1.3.9 <2.0.0 | 1.5.1 | |
Transitive dependencies | |||
async | 2.0.6 | ||
charcode | 1.1.1 | ||
collection | 1.14.9 | ||
pool | 1.3.4 | ||
source_span | 1.4.0 | ||
stack_trace | 1.9.2 | ||
Dev dependencies | |||
test | >=0.12.14 <1.0.0 |