Treffer: Hygienic Macros for JavaScript
Title:
Hygienic Macros for JavaScript
Publisher Information:
eScholarship, University of California 2015-01-01
Document Type:
E-Ressource
Electronic Resource
Index Terms:
Availability:
Open access content. Open access content
public
public
Note:
application/pdf
English
English
Other Numbers:
CDLER oai:escholarship.org:ark:/13030/qt3392k305
qt3392k305
https://escholarship.org/uc/item/3392k305
https://escholarship.org/
1287471592
qt3392k305
https://escholarship.org/uc/item/3392k305
https://escholarship.org/
1287471592
Contributing Source:
UC MASS DIGITIZATION
From OAIster®, provided by the OCLC Cooperative.
From OAIster®, provided by the OCLC Cooperative.
Accession Number:
edsoai.on1287471592
Database:
OAIster
Weitere Informationen
Languages like Lisp, Scheme, and Racket have shown that powerful and expressive macro systems can give programmers the ability to grow their own language. Unfortunately, in languages with syntax like JavaScript, macros have had less success, due in part to the difficulty of integrating macro expansion and complex grammars.This dissertation describes sweet.js, a hygienic macro system for JavaScript that fixes long standing challenges in lexing JavaScript and provides expressive pattern matching that allows macros to manipulate the complex grammar of JavaScript. With sweet.js programmers can experiment with syntax extensions for future versions of JavaScript and craft domain specific languages.