Re: In 2.3.19, sharing cache storage
"Wong, Christopher" <[email protected]> Fri, 25 Jul 2014 09:33:54 -0400
| Newsgroups | gmane.comp.web.freemarker.devel |
|---|---|
| Message-ID | <5900C695468EF8469DF7867FD277BA1E95AFDFEEA2@PMACPWEXCLS01.corp.epsilon.com> |
If being able to inspect the AST was the only objective, I think my current freemarker-introspection projection would be of interest to Jaime:
https://github.com/cwong15/freemarker-introspection
But my impression is that Jaime actually wants to change the behavior of Freemarker itself for his needs. In which case, what he wants is the ability to extend Freemarker, which is a whole different set of needs from simply being able to passively inspect a template outside of Freemarker's template processing.
Chris
-----Original Message-----
From: Daniel Dekany [mailto:[email protected]]
Sent: Thursday, July 24, 2014 8:32 PM
To: Jaime Garza
Cc: Daniel Dekany
Subject: Re: [Freemarker-devel] In 2.3.19, sharing cache storage
Thursday, July 24, 2014, 12:40:21 AM, Jaime Garza wrote:
> My only ask would be if more classes were public and non-final. That would be lovely!
The more I expose from the internal(ish...) classes, the more difficult will it be to fix/evolve anything without breaking backward compatibility. It become obvious that traversing the AST would be important for many users. Even modifying it for some. However, exposing the AST directly would be a rather risky step. Instead, FM will have to introduce another library, like, freemarker-inspector or something, that defines a logical AST-like view of a template with a published API, and which depends on the FreeMarker internals, and is maintained together with FreeMarker... Or what other API would you need to be published?
This e-mail and files transmitted with it are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you are not one of the named recipient(s) or otherwise have reason to believe that you received this message in error, please immediately notify sender by e-mail, and destroy the original message. Thank You.
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds