Confirmed users, Bureaucrats and Sysops emeriti
882
edits
m (Reverted edit of Picklesworth Bluxo, changed back to last version by Mrbkap) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Types in Narcissus == | == Types in Narcissus == | ||
= Problem Description = | = Problem Description = | ||
The current implementation of [[JavaScript]] in [[Narcissus]] implements only the ECMAScript v3 type conversion rules, mostly metacircularly (by using the host SpiderMonkey interpreter to do the converting). ECMAScript v4 will introduce type annotations and optional static type checking into the language. In order to prototype new language features fast, we should extend Narcissus to understand Edition 4 type annotations. | The current implementation of [[JavaScript]] in [[JavaScript:Narcissus|Narcissus]] implements only the ECMAScript v3 type conversion rules, mostly metacircularly (by using the host SpiderMonkey interpreter to do the converting). ECMAScript v4 will introduce type annotations and optional static type checking into the language. In order to prototype new language features fast, we should extend Narcissus to understand Edition 4 type annotations. | ||
= Proposal for Adding Types to Narcissus = | = Proposal for Adding Types to Narcissus = |