Permalink
Browse files

RC2, bug fixes and clarifications.

  • Loading branch information...
1 parent 62b29f6 commit b01a5575cece2f6b0393d1578e44f670bf93b298 @supernovus committed Nov 30, 2011
Showing with 28 additions and 2 deletions.
  1. +1 −1 VERSION
  2. +3 −0 src/globals.tmpl
  3. +23 −0 src/ideas.tmpl
  4. +1 −1 src/nested.tmpl
View
@@ -1 +1 @@
-VERSION 1-RC1
+VERSION 1-RC2
View
@@ -28,5 +28,8 @@ Declaring these is done with the `stmt(global)` statement:
There is no fixed standard for how the programming API will populate the
global variables, and that is left up to the implementations.
</p>
+<p class="note">
+This extension will likely become a <em>Core</em> feature in Version 2.
+</p>
}}
View
@@ -106,6 +106,20 @@ version (and any attempt to do so would result in a failure message.)
Some form of this is likely to make it into Version 2.
</p>
+<h4>Conditional Test Helper Object</h4>
+<p>
+The conditions are intentionally kept simple, and there's no way to do
+things like chained tests (AND, OR, etc.) or comparisons (EQ, GT, LT, etc.)
+</p>
+<p>
+This is a rough idea to make an extension that when used, provides a global
+variable pointing to a helper object that would allow you to build more
+powerful conditionals.
+</p>
+<p>
+Some form of this is likely to make it into Version 2.
+</p>
+
<h4>In-template Array Creation</h4>
<p>
Another feature inspired by StringTemplate. The ability to create arrays
@@ -115,6 +129,15 @@ within template definitions themselves. Not sure what form it will take yet.
Some form of this is likely to make it into Version 2.
</p>
+<h4>String Literals</h4>
+<p>
+The ability to pass string literals as parameter values, and/or use
+them as conditional results instead of a full template, would be useful.
+</p>
+<p>
+Some form of this will definitely make it into a future version.
+</p>
+
<h4>Parsed Blocks</h4>
<p>
Another feature using block options, these would look similar to dictionary
View
@@ -53,7 +53,7 @@ For instance:
Yeah, so `ss()`name`es()` said: `ss()`b(Hello)`es()`
`et()`
-`tmpl(text)` (`var(y)`) `st()` &lt;strong&gt;`ss()`text`es()`&lt;/strong&gt; `et()`
+`tmpl(b)` (`var(text)`) `st()` &lt;strong&gt;`ss()`text`es()`&lt;/strong&gt; `et()`
`sc()` <tt>Given a name of Bob, will result in:
Yeah, so Bob said: &lt;strong&gt;Hello&lt;/strong&gt;</tt> `ec()`

0 comments on commit b01a557

Please sign in to comment.