Repository logo

Infoscience

  • English
  • French
Log In
Logo EPFL, École polytechnique fédérale de Lausanne

Infoscience

  • English
  • French
Log In
  1. Home
  2. Academic and Research Output
  3. Conferences, Workshops, Symposiums, and Seminars
  4. Semantics-Driven Interoperability between Scala.js and JavaScript
 
conference paper

Semantics-Driven Interoperability between Scala.js and JavaScript

Doeraene, Sébastien
•
Schlatter, Tobias  
•
Stucki, Nicolas
Biboudis, A
•
Jonnalagedda, M
Show more
2016
Scala'16: Proceedings Of The 2016 7th ACM SIGPLAN Symposium On Scala
7th ACM SIGPLAN Symposium on Scala

Hundreds of programming languages compile to JavaScript. Yet, most of them fail, at one level or another, to provide satisfactory interoperability with JavaScript APIs. This is limiting, as interoperability is at least required to manipulate web pages through the DOM API, but also to use the ecosystem of existing JavaScript libraries. This paper presents the interoperability features of Scala.js, which solves the shortcomings of previous approaches. Scala. js offers a separate hierarchy of JavaScript types, whose operations have semantics borrowed from ECMAScript 2015. The interoperability features are complete with respect to ECMAScript 2015, save for two exceptions which are still being worked on. This allows Scala. js programs to perform any operation that an ECMAScript program could do, thereby guaranteeing that they can talk to any JavaScript library.

  • Files
  • Details
  • Metrics
Loading...
Thumbnail Image
Name

scala16-scala-js-interoperability.pdf

Type

Preprint

Version

Submitted version (Preprint)

Access type

openaccess

Size

152.63 KB

Format

Adobe PDF

Checksum (MD5)

34eeae5847e20050bc9e5f1544aced6b

Logo EPFL, École polytechnique fédérale de Lausanne
  • Contact
  • infoscience@epfl.ch

  • Follow us on Facebook
  • Follow us on Instagram
  • Follow us on LinkedIn
  • Follow us on X
  • Follow us on Youtube
AccessibilityLegal noticePrivacy policyCookie settingsEnd User AgreementGet helpFeedback

Infoscience is a service managed and provided by the Library and IT Services of EPFL. © EPFL, tous droits réservés