[TYPO3-dev] TS compiler
Elmar Hinz
elmar.DOT.hinz at team.MINUS.red.DOT.net
Thu May 10 22:40:19 CEST 2007
Am Fri, 13 Apr 2007 13:56:58 +0300 schrieb Dmitry Dulepov:
> Hi!
>
> Elmar Hinz wrote:
>> currently I learn how to write compilers. As object of my lessons I have
>> choosen TypoScript. I can produce the first output now, just the basics of
>> the TS grammer for now to parse it into a PHP variable.
>>
>> Is there any interest in a TS compile written in C?
>
> Check adodb php library. They have php extension written in C. PHP code
> checks if it is available (tries to load it dinamically) and uses
> automatically (transparently for caller). If you can make TS parser like
> this, this would be absolutely wonderful!
>
Hi Dmitry,
I have uploaded a first working prototype to SVN yesterday (tx_tsc). It
does tokenizing and syntax checking. It doesn't check any
semantics.
Braced blocks and multiline values are already supported.
Copies ( < ) are TODO.
Conditions and symlinks ( =< ) will not be supported. That is IMHO the task
of pre and post processors.
Error messages still rudimentary.
See the README for compilation and usage.
Regrads
Elmar
More information about the TYPO3-dev
mailing list