From ArchWiki
Jump to: navigation, search

Gnome-colors-add-files-to-archive.pngThis article is being considered for archiving.Gnome-colors-add-files-to-archive.png

Reason: Info doesn't justify article. (Discuss in Talk: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.


Install the dart package.


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.