[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nyacc support for extension languages

From: Matt Wette
Subject: Re: nyacc support for extension languages
Date: Mon, 20 Aug 2018 16:40:52 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 08/20/2018 09:00 AM, Joshua Branson wrote:
Also, I'd like to "fix" some problems in javascript. For example
var a = 1;
if (1) {
   var a = 2;
a => 2
if (1) {
   let a = 3;
a => 2

I have made "var" inside blocks illegal. And "let" is not standard, but I'm 
adding it.
That's pretty cool to add let inside javascript!

FYI, the code above was executed in nodejs.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]