Re: ES6 module grammar - Conflicting states

2012-03-21 Thread David Herman
Sorry for the delay. Yes, good catch. Your fix looks good to me. I'm updating the module syntax on the wiki today, and I'll incorporate your fix. I'll send a message to es-discuss when it's updated. Thanks! Dave On Mar 6, 2012, at 4:39 PM, Xavier CAMBAR wrote: Hi all, I was looking at the

ES6 module grammar - Conflicting states

2012-03-06 Thread Xavier CAMBAR
Hi all, I was looking at the grammar defined at http://wiki.ecmascript.org/doku.php?id=harmony:modules (Last modified: 2012/02/27 17:27 by samth) and noticed conflicting states during tokenization. Consider the following expression: export x, y, z; According to the grammar defined in the wiki,

Module grammar

2011-07-01 Thread Kam Kasravi
Should this ImportDeclaration(load) ::= import ImportBinding(load) (, ImportBinding(load))* ; ImportPath(load) ::= ImportSpecifierSet from ModuleExpression(load) ImportSpecifierSet ::= * | IdentifierName | { (ImportSpecifier (, ImportSpecifier)*)? ,? }

Re: Module grammar

2011-07-01 Thread David Herman
Thanks-- missed one when manually doing s/ImportPath/ImportBinding/g. Fixed. Thanks, Dave On Jul 1, 2011, at 9:55 AM, Kam Kasravi wrote: Should this ImportDeclaration(load) ::= import ImportBinding(load) (, ImportBinding(load))* ; ImportPath(load) ::= ImportSpecifierSet from