Static Typing and JavaScript Libraries: Towards a More Considerate Relationship - Archive ouverte HAL
Communication Dans Un Congrès Année : 2013

Static Typing and JavaScript Libraries: Towards a More Considerate Relationship

Benjamin Canou
  • Fonction : Auteur
  • PersonId : 971689
Vincent Botbol
  • Fonction : Auteur

Résumé

In this paper, after relating a short history of the mostly unhappy relationship between static typing and JavaScript (JS), we explain a new attempt at conciliating them which is more respectful of both worlds than other approaches. As an example, we present Onyo [1], an advanced binding of the Enyo JS library for the OCaml language. Onyo exploits the expressiveness of OCaml’s type system to properly encode the structure of the library, preserving its design while statically checking that it is used correctly, and without introducing runtime overhead.
Fichier non déposé

Dates et versions

hal-01216057 , version 1 (15-10-2015)

Identifiants

  • HAL Id : hal-01216057 , version 1

Citer

Benjamin Canou, Emmanuel Chailloux, Vincent Botbol. Static Typing and JavaScript Libraries: Towards a More Considerate Relationship. International World Wide Web Conference, dev track, May 2013, Rio de Janeiro, Brazil. pp.15-17. ⟨hal-01216057⟩
85 Consultations
0 Téléchargements

Partager

More