pinto 0.0.3+1 pinto: ^0.0.3+1 copied to clipboard
The pint° programming language
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate pinto
Use it
The package has the following executables:
$ pinto
$ pinto_server
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add pinto
With Flutter:
$ flutter pub add pinto
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
pinto: ^0.0.3+1
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:pinto/ast.dart';
import 'package:pinto/compiler.dart';
import 'package:pinto/error.dart';
import 'package:pinto/localization.dart';
import 'package:pinto/semantic.dart';