Rene Rivera <[EMAIL PROTECTED]> writes:

> David Abrahams wrote:
>> Rene Rivera <[EMAIL PROTECTED]> writes:
>> 
>>> David Abrahams wrote:
>>>> That BoostBook->HTML transformation can be rewritten easily in Python 
>>> I'm betting it could more easily be written in PHP ;-) We are all biased 
>>> as far a languages go. So I tend to prefer language agnostic 
>>> architectures. Like the AST you mention, 
>> 
>> Or XML? :)
>
> Not sure which part you are referring to for XML...

A "language-agnostic representation" of the AST, but only if you don't
elevate XML to the status of "language."

> * If it's the AST, sure.
> * If it's the translation, well that's XSLT, which is the nightmare I'm 
> trying to avoid. 

Agreed.

>>> and that we've mentioned before on the list.
>> 
>> It's a data structure; if you represent it in memory you'll need to
>> code that in some language.  I don't see how that's language-agnostic.
>
> Even in memory data structures can be used intra-language. After all, 
> they are equivalent to on file data structure (in-memory -> on-file -> 
> in-memory). 

I don't know what that diagram is supposed to illustrate.

> It could just as easily be: in-memory -> PHP/Python/Perl. 

Not just as easily, because then you have to write bindings for each
backend language.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to