[stringtemplate-interest] ST 4.0 planning
Roman Odaisky
roma at qwertty.com
Mon Sep 8 11:09:33 PDT 2008
On Monday, 08.09.2008 20:48:19 Terence Parr wrote:
> 1. In principle, we could use the rechargeable architecture pattern of
> ANTLR to generate whatever source code we want; C++ and so on. the
> only requirement would be some sort of reflection still because I
> don't want attributes to be typed in ST. That means that you'd need
> RTTI for C++, which it supposedly has now.
No, C++ RTTI won’t help.
Someone would have to define the mapping between attributes and their names
manually.
> I'm planning on breaking with absolute backward compatibility to fix a
> number of design flaws that came about because requirements changed
> during the last eight years.
Quite a lot of ST is redundant. if, separator, null, etc. I wonder what would
happen if ST were brought to an absolute minimum and then a more concise
syntax were devised for it.
ST already has everything a functional language needs: car, cdr and
recursion :-)
And at last some delimiters apart from $$ and <> have to be invented!
--
WBR
Roman.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2286 bytes
Desc: not available
Url : http://www.antlr.org:8080/pipermail/stringtemplate-interest/attachments/20080908/67f15f0e/attachment.bin
More information about the stringtemplate-interest
mailing list