Dart - ArchWiki

# Dart

From the language's home page:

  Dart is a cohesive, scalable platform for building apps that run on the web (where you can use Polymer) or on servers (such as with Google Cloud Platform). Use the Dart language, libraries, and tools to write anything from simple scripts to full-featured apps.

## Installation

The latest version of Dart is available in the official repositories as dart. The bleeding edge version of Dart is available in the AUR as dart-trunkAUR[broken link: archived in aur-mirror].

## Example

Place the following code in a temporary file named hello.dart:

    void main() {
      print("Hello Arch User!");
    }

Now, run the following in the same directory as hello.dart:

    $ dart hello.dart

You should get the following output:

    Hello Arch User!

## Dart Editor

Dart has its own editor, based on Eclipse, and it is available in the AUR as dart-editorAUR[broken link: archived in aur-mirror] or dart-editor-devAUR[broken link: archived in aur-mirror] for the development version.

## Dart Vim Syntax

vim-dart-pluginAUR[broken link: archived in aur-mirror] provides a Vim plugin that supports the Dart language's syntax and provides highlighting for the language.

Category:

- Programming languages

Hidden category:

- Pages with broken package links