Tag Archive: Compiler

Jan
23
2012

New language specification (v0.07) and new version of the Dart Editor (3331)

It appears the new version of Editor Dart (3331), you can check your news and download it here and with it also comes into play a new language specification v0.07 with several new features,you can read about these developments and see the document by following this link .

 

Permanent link to this article: http://www.dartexperience.com/en/2012/01/23/nueva-especificacion-del-lenguaje-v0-07-y-nueva-version-del-dart-editor-3331/

Jan
16
2012

Why Dart Types Are Optional and Unsound. Part 1

Dart uses types in a way that might seem strange. Most popular languages that offer a type system use it very differently. If you’re familiar with types in Java, Haskell, Scala, or any statically typed language, you may wonder why on earth Dart makes the choices that it does.

Background: Dart is a dynamically typed language, and proud of it

Dart types are dynamic, as in LISP, Smalltalk, Python, and JavaScript. Users of languages ​​that also use dynamic typing, especially for programming JavaScript web certainlyunderstand the reason for this. If you prefer static typing in this article are not going to try to convince that it is better. For now we assume that Dart is a dynamically typed language.

In a dynamically typed language, any variable may be bound to a value of any type. Each value carries a tag identifying its type (or at least we can think of the implementation that way).

Dart adds some static typing, but it maintains the goal to have programmers take full advantage of its dynamic typing. The static type heuristics will not restrict them. (We talk about “type heuristics” because you really don’t want to think of it as a “type system”, not even an unsound type system.) So we want the static type checking to be optimistic: assume code is valid unless we can be statically sure it isn’t. This goal drives many of Dart’s decisions.

Source: Dartlang

Permanent link to this article: http://www.dartexperience.com/en/2012/01/16/%c2%bfpor-que-los-tipos-de-dart-son-opcionales-y-poco-solidos-parte-1-background-dart-es-un-lenguaje-con-tipos-dinamicos-y-orgulloso-de-serlo/

Jan
11
2012

Dart Editor v0.1.0 build 3101 with Frog support

A new Dart Editor build (3101) is available for download. Changes include:

      • Initial VM launch support… toolbar button and .options file
      • Generate JS only for browser applications
      • Font scaling for code editor, libraries view, problems view
      • Search box improvements and cleanup
      • Fixed memory leak when closing libraries
      • Fixed loss of errors/warning during incremental compilation
      • Options to use Frog for compilation and deploy
      • DartC, parser, and code completion fixes and improvements
      • Lots of bug fixes as a result of last month’s hackathon

Permanent link to this article: http://www.dartexperience.com/en/2012/01/11/dart-editor-v0-1-0-build-3101-con-soporte-para-frog/

Dec
19
2011

New Dart Editor build (2380) Run code in the VM!


  • Initial VM launch support… toolbar button and .options file
  • Generate JS only for browser applications
  • Font scaling for code editor, libraries view, problems view
  • Search box improvements and cleanup
  • Fixed memory leak when closing libraries
  • DartC, parser, and code completion improvements
  • Improved syntax coloring
  • Lots of bug fixes as a result of internal testing

Permanent link to this article: http://www.dartexperience.com/en/2011/12/19/nueva-version-dart-editor-2380-%c2%a1ejecuta-tu-codigo-en-la-maquina-virtual/

Dec
06
2011

Frog. Dart to Javascript compiler written in Dart

Dart Google has become easier to use with versions of the Dart Editor. The Eclipse-based tool includes the compiler DartC, project management, wizards, etc. And allows you to run applications compiled with DartC.
The editor runs the type checker on all code and annotates code that contains problems; providing type annotations helps the type checker be more useful.

Read the rest of this entry »

Permanent link to this article: http://www.dartexperience.com/en/2011/12/06/frog-dart-to-javascript-compiler-written-in-dart/