Hi,
i found this discussion
https://sourceforge.net/p/freemarker/mailman/message/34258954/ and this
repo https://github.com/cwong15/freemarker-introspection

I wanted to ask the following things:

1. Where did this discussion go? Is there already something where one can
get the AST for a template?

We are currently investigating how we can access the AST to build a
graphical visualization of an IF/ELSE Statement.

Example:
Imagine the user can enter something like "<#if (product.category == "foo"
&& product.price < 100)>true<#else>false</#if>
We would like to extract the used variables and the operators to display
this in a more visual way.

I am looking for some kind of starting point for this.

Thanks for hints,
Christoph

-- 
Synesty GmbH
Moritz-von-Rohr-Str. 1a
07745 Jena
Tel.: +49 3641 
5596493Internet: https://synesty.com <https://synesty.com>
Informationen 
zum Datenschutz: https://synesty.com/datenschutz 
<https://synesty.com/datenschutz>

Geschäftsführer: Christoph Rüger
Unternehmenssitz: Jena
Handelsregister B beim Amtsgericht: Jena
Handelsregister-Nummer: HRB 508766
Ust-IdNr.: DE287564982

Reply via email to