Re: Any plans for a 100% wm syntax compatibility?
Daniel Dekany <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Monday, March 24, 2008, 11:46:39 PM, Jonathan Revusky wrote: > Okay, Demetrios, I have a first pass written now. I mostly did this > as a technical challenge. I was curious to see how hard it is. > (Answer: not very hard, I don't think.) [snip] What did you done with the semantical differences regarding missing variables? (I suppose you don't print $noSuchThing (literarily; that's how it works in VM) for $noSuchThing.) With the more loose boolean logic (e.g. #if $noSuchThing)? And with the interpolation semantic? As you know, VM uses toString(), while we are using localized format by default... that can cause 1234 to become 1,234 and like, that can be a problem. Oh, and the horror of horrors... with assignments? You know, when #set(x = $noSuchThing) just does nothing. Ugh... it would feel perverted to emulate this. :) -- Best regards, Daniel Dekany ------------------------------------------------------------------------- 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/