JSDT uses the same mechanism as JDT to generate the parser...

http://www.eclipse.org/jdt/core/howto/generate%20parser/generateParser.html

Thanks,
Chris




                                                                       
             John Peberdy                                              
             <[email protected]>                                         
             Sent by:                                                   To
             wtp-dev-bounces@e         "General discussion of project-wide
             clipse.org                or architectural issues."       
                                       <[email protected]>           
                                                                        cc
             01/15/2013 06:19                                          
             PM                                                    Subject
                                       [wtp-dev] JSDT - what is the    
                                       Javascript parser implemented with?
             Please respond to                                         
                 "General                                              
               discussion of                                           
              project-wide or                                          
               architectural                                           
              issues."
             <wtp-dev@eclipse.                                         
                   org>                                                
                                                                       
                                                                       




Hi,

I'd like to add support to JSDT for Javascript's implicit semicolon
insertion rules. In org.eclipse.wst.jsdt.core I noticed there is a .g
grammar file. As well there are .rsc files which seem to be serialized
state of a parser generator.

Does anyone know which tool and version of it is used to generate
these .rsc files from the .g file?


I checked VJET and it appears to at least have the same bugs as JSDT's
editor in this regard so I'm assuming it doesn't have an improved parser.


Thanks
John_______________________________________________
wtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/wtp-dev

<<inline: graycol.gif>>

<<inline: pic49863.gif>>

<<inline: ecblank.gif>>

_______________________________________________
wtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/wtp-dev

Reply via email to