diff website/src/manual.html @ 1384:f5368cd8c056

remove template expressions and String.concat
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 15 Aug 2019 14:33:35 -0600
parents 372906d1d08b
children eb8b35dccd99
line wrap: on
line diff
--- a/website/src/manual.html	Thu Aug 01 16:49:47 2019 -0600
+++ b/website/src/manual.html	Thu Aug 15 14:33:35 2019 -0600
@@ -70,7 +70,6 @@
 				<li><a href="#constructors">Table Constructors</a></li>
 				<li><a href="#fn_calls">Function Calls</a></li>
 				<li><a href="#fn_def">Function Definitions</a></li>
-				<li><a href="#template_expr">Template Expressions</a></li>
 			</ul>
 		</li>
 		<li><a href="#visibility">Visibility Rules</a></li>
@@ -1086,7 +1085,7 @@
 
 <h4 heading><a name="template_stmt" href="#template_stmt">Template Statements</a></h4>
 
-<p>Template statements are based on <a href="#template_expr">template exressions</a> and provide the full equivalent of <a href="http://en.wikipedia.org/wiki/JavaServer_Pages">JSP</a> but in a general way.  Template statements write the equivalent template exression to standard output.  For example:</p>
+<p>Template statements provide the full equivalent of <a href="http://en.wikipedia.org/wiki/JavaServer_Pages">JSP</a> but in a general way.  Template statements write to standard output.  For example:</p>
 
 <pre>
 	local name = "Bob"
@@ -1100,10 +1099,7 @@
 
 <pre>
 	local name = "Bob"
-	require("luan:Io.luan").stdout.write( %>
-	Hello <%= name %>!
-	Bye <%= name %>.
-	<% )
+	require("luan:Io.luan").stdout.write( "Hello ", name , "!\nBye ", name , ".\n" )
 </pre>
 
 
@@ -1664,26 +1660,6 @@
 then the function returns with no results.
 
 
-<h4 heading><a name="template_expr" href="#template_expr">Template Expressions</a></h4>
-
-<p>Luan template expression are based on <a href="http://en.wikipedia.org/wiki/JavaServer_Pages">JSP</a>.  Template expressions return multiple values.  Here is an example:</p>
-
-<pre>
-	local name = "Bob"
-	write( %>Hello <%= name %>!<% )
-</pre>
-
-<p>This is equivalent to the code:</p>
-
-<pre>
-	local name = "Bob"
-	write( "Hello ", name, "!" )
-</pre>
-
-<p>The strings in template expressions may be multiple lines.</p>
-
-
-
 <h3 heading><a name="visibility" href="#visibility">Visibility Rules</a></h3>
 
 <p>
@@ -2280,13 +2256,6 @@
 to its corresponding argument.
 
 
-<h4 heading><a name="String.concat" href="#String.concat"><code>String.concat (&middot;&middot;&middot;)</code></a></h4>
-
-<p>
-Concatenates the <a href="#Luan.to_string"><code>to_string</code></a> value of all arguments.
-
-
-
 <h4 heading><a name="String.encode" href="#String.encode"><code>String.encode (s)</code></a></h4>
 
 <p>