Re: Any plans for a 100% wm syntax compatibility?
Attila Szegedi <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
On 2008.03.24., at 17:05, Daniel Dekany wrote: >> - possible FM level debugger. > > We do have a debugger API for a long time, only nobody has written a > GUI for it, as far as I know. Attila, can you say anything about the > state of FM debugging? Not much. There was someone on this list who embarked on producing an Eclipse GUI for it, but he did run into some problems, and I didn't have the time to assist him further... There's a basic support for remote debugging over RMI in the freemarker.debug.* package, > > >> - possible support for precompiled templates. > > I don't know about such plan... Precompiled to what? Java bytecode, I suppose. We discussed it earlier and concluded that while it'd be possible, we don't see much point in it. Certainly doesn't look as if it's worth the effort... The templates are now executed by walking the AST. A prcompiled form would basically contain a bunch of calls to various TemplateElement.visit() methods, or maybe inlined copies of their bodies (say, for if and loops). We could achieve a marginal performance improvement, I suppose, but the effort/ benefit ratio is just too big. > > >> - indirect advantages: >> - missing of the ever increasing Apache.org bureaucracy. > > Yeah. We are animals. :) Barbarian animals, even (my son's playing Civilization on the machine next to mine...) :-) Attila. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/