<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">no real estimate but a guess would be late november you could play. i'm gutting the parser/lexer now since trying to add really good error handling was impossible with old method. I ended up having to write a lexer by hand. It's highly context sensitive and even ambiguous (well, not semantically).<div><br></div><div>Ter<br><div><div>On Oct 30, 2009, at 12:58 PM, David Hofmann wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Terr<div>Is there an estimate when st4 will be feature complete ?<div>Bugs does not matter :) I'll use it anyway because that is a matter of time :)</div><div><br></div><div>Greetings</div><div><br></div>--<br>David Daniel Hofmann<br> WebVAS, Nucleo S.A. - Telecom Personal Paraguay<br><a href="http://www.google.com/profiles/hofmanndavid">http://www.google.com/profiles/hofmanndavid</a><br><br><br><br> <br><br><div class="gmail_quote">On Tue, Oct 27, 2009 at 4:39 PM, Ran Tavory <span dir="ltr"><<a href="mailto:rantav@gmail.com">rantav@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> <div dir="ltr">I suppose I'll wait for v4 then, thanks for the replies.<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Oct 27, 2009 at 6:01 PM, Terence Parr <span dir="ltr"><<a href="mailto:parrt@cs.usfca.edu" target="_blank">parrt@cs.usfca.edu</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Ran,<div><br></div><div>You've asked 2 questions actually :)</div><div><br></div> <div>1. Define formal args for nongroup file templates: Coming in STv4. All templates will require formal args even in separate files.</div><div><br></div><div>2. Specifying cardinality of parameters (required, optional, multi-valued). It's somethng I've considered for years and have commented out in the code. ;) I'm still deciding about it's use for STv4.</div> <div><br></div><div>As for types, I think types would tie templtes too closely to the model. But, i understand the desire for them.</div><div><br></div><div>Ter<br><div><div><div></div><div><div>On Oct 26, 2009, at 10:46 PM, Ran Tavory wrote:</div> <br></div></div><blockquote type="cite"><div><div></div><div><div dir="ltr">A newbe question: Is it possible to define the list of formal parameters in a template where my use case would be for a web page?<div> <br></div><div>For example, in this template:</div><div><br></div><div><a href="http://layout.st" target="_blank">layout.st</a></div> <div><span style="font-family:Courier, arial, sans-serif;font-size:12px;line-height:13px"><pre style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:5px;margin-left:15px;margin-bottom:5px;margin-right:5px;text-align:left"><html>
<head>
<title>$title$</title>
<body>
$banner()$
<hr>
$body()$
</body>
</html></pre><font face="arial"><span style="font-size:small;line-height:normal"><br></span></font><font face="arial, arial, sans-serif"><span style="font-size:small;line-height:normal">I'd like to say that <b>$title$</b> is a required parameter. Would even be better if types can be enforced, such as String, Number, Date, List of x etc, but even without static typing, simply listing the formal arguments the template expects would be great.</span></font></span></div> <div><font face="arial, arial, sans-serif">Thanks!</font></div></div></div></div><div> _______________________________________________<br>stringtemplate-interest mailing list<br><a href="mailto:stringtemplate-interest@antlr.org" target="_blank">stringtemplate-interest@antlr.org</a><br> <a href="http://www.antlr.org/mailman/listinfo/stringtemplate-interest" target="_blank">http://www.antlr.org/mailman/listinfo/stringtemplate-interest</a><br></div></blockquote></div><br></div></div></blockquote></div><br> </div></div></div> <br>_______________________________________________<br> stringtemplate-interest mailing list<br> <a href="mailto:stringtemplate-interest@antlr.org">stringtemplate-interest@antlr.org</a><br> <a href="http://www.antlr.org/mailman/listinfo/stringtemplate-interest" target="_blank">http://www.antlr.org/mailman/listinfo/stringtemplate-interest</a><br> <br></blockquote></div><br></div> _______________________________________________<br>stringtemplate-interest mailing list<br><a href="mailto:stringtemplate-interest@antlr.org">stringtemplate-interest@antlr.org</a><br>http://www.antlr.org/mailman/listinfo/stringtemplate-interest<br></blockquote></div><br></div></body></html>