Re: Fm web editor
Roded <[email protected]> Wed, 25 Dec 2013 13:36:08 +0200
| Newsgroups | gmane.comp.web.freemarker.devel |
|---|---|
| Message-ID | <CAJSdnj+ri01BVE+btOsPD-u16aQmN2XPXF0a+fDB8sEELeV6Wg@mail.gmail.com> |
That remains the biggest issue. It is all manual labour.. Translating between different grammars is hard.. The closest possible solution I've found was to use ANTLR's different generators for creation of lexer+parser for a specific language from the same grammar, but that functionality wasn't complete last time I checked. Don't know if Javacc has such functionality. Roded On Wed, Dec 25, 2013 at 12:46 PM, Daniel Dekany <[email protected]> wrote: > That's certainly an interesting initiative! > > How do you create the PEG.js lexer/parser? Is that purely manual > labor? I wonder how could the FreeMarker project itself provide the > input for generating these, because the same problem came up with the > Eclipse plugin (an FTL lexer/parser has to be written from scratch). > Not only that's extra work for the tool author, but it's quite > difficult to get it right (given all the quirks and historical baggage > of FTL), but also, these things will go outdated as FTL evolves. Like, > even adding a new built-in or directive, which happens often, can > cause problems. > > -- > Thanks, > Daniel Dekany > > > Sunday, December 22, 2013, 9:57:20 AM, Roded wrote: > > > Hi, > > I've created a FM js editor, for your consideration. > > https://github.com/roded/freemarker-web-editor > > Best regards, > > Roded. > > ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ FreeMarker-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freemarker-devel