NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
PhpED IDE and ECMAScript6


Joined: 26 Dec 2016
Posts: 2
Reply with quote
I upgraded the PhpED 18, and it seems to me, the new syntax and features in JavaScript is not implemented.

For example let keyword.

http:// es6-features.org/#BlockScopedVariables

Is there a way to fix it myself? Possibly the expansion of the library?
View user's profileFind all posts by tgabor1Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 7893
Reply with quote
Sorry, ECMAScript 6 is not supported. Adding support for such things requires a lot of work. There is nothing you can do.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 26 Dec 2016
Posts: 2
Reply with quote
OK., i understand.

Any plans in the future, or in following version for this support? Including better CSS3 syntax check?
View user's profileFind all posts by tgabor1Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 7893
Reply with quote
yes, sure. We revisit all the features and tight them up

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 05 May 2018
Posts: 29
Reply with quote
Nowadays ES6 is a must have.
I purchased PhpED 19. It has a lot of good things, but a lot of minuses.
ES6 is one of those minuses.
View user's profileFind all posts by gutapetruSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7893
Reply with quote
That's clear, it's a must have, but we can't afford developing ES[6,8] parsers from scratches -- it would take tremendous time with very marginal benefit -- although it lies very close, support for JS is not our primary goal.
Tried to find a grammar (something like yacc, lemon or bison would work great for us), but didn't find anything suitable. Would highly appreciate if you find anything suitable.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 05 May 2018
Posts: 29
Reply with quote
dmitri wrote:
That's clear, it's a must have, but we can't afford developing ES[6,8] parsers from scratches -- it would take tremendous time with very marginal benefit -- although it lies very close, support for JS is not our primary goal.
Tried to find a grammar (something like yacc, lemon or bison would work great for us), but didn't find anything suitable. Would highly appreciate if you find anything suitable.


https:// gist.github.com/rbuckton/0d8c1f1c607f52f5ae37
https:// bitbucket.org/skoppe/es6-grammar/src[/url]
View user's profileFind all posts by gutapetruSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7893
Reply with quote
Thanks, I'll check that. This file https://bitbucket.org/skoppe/es6-grammar/src/57e0c27267a644f83184a8e38780d37d77299fdd/source/es6/grammar-generator.d?at=master&fileviewer=file-view-default looks like tokenizer (lexer) and parser.
What's about ES8?

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 05 May 2018
Posts: 29
Reply with quote
Anything about ES6 ?
All editors have it, except PhpED.
Hello, developer(s), it's time to wake up... Really !!!
View user's profileFind all posts by gutapetruSend private message


Joined: 05 May 2018
Posts: 29
Reply with quote
It is very hard to work with PhpED plus an editor too, because PhpED does not support JS6.
View user's profileFind all posts by gutapetruSend private message


Joined: 05 May 2018
Posts: 29
Reply with quote
It is very hard to work with PhpED plus an editor too, because PhpED does not support JS6.
View user's profileFind all posts by gutapetruSend private message


Joined: 05 May 2018
Posts: 29
Reply with quote
Anything ?
View user's profileFind all posts by gutapetruSend private message
PhpED IDE and ECMAScript6
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic