Getting Started
Table of Contents
Setting up #
Requirements #
pint° is made in Dart and compile to Dart. You need the latest stable version of Dart installed on your machine.
Get the Dart SDKInstallation #
Install the pinto
executable with pub
.
dart pub global activate pinto
Compiling with the pinto
executable #
With the pinto
executable you can compile a pint° file.
pinto your_file.pinto
The compiled Dart file will me printed in you stdout. This means that, if you
want to redirect it to a file, you may use >
, like the following example.
pinto your_file.pinto > your_file.dart
Editors support #
pint° provides a basic implementation of a LSP that emits static
errors. It can be started by using the pinto --server
command.
Currently, however, the only editor with official support is VSCode. There’s a official pint° extension for VS Code which consumes the LSP server and provides syntax highlighting.
Download the VSCode extension