Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: Separate compilation
Antoun Kanawati wrote:
> Then again, the very presence of macros that are implemented in the
> source language itself deviates significantly from conventional model.
> Even the oft-cited C++ templates do not get close to this: they are
> ultimately static constructs that cannot invoke any executable code
> during compilation.

That's not entirely true. While C++ templates cannot invoke arbitrary
C++ code at compile time, the template language itself is sophisticated
enough to create some of the same problems. (In particular, the ability
to specialize on integer constants implies a language very similar to a
Turing machine.)

The SYNTAX-CASE construct goes beyond that, however. One particularly
sticky issue (according to its implementors) is that a SYNTAX-CASE macro
can invoke arbitrary Scheme code, including further macro expansions
inside the SYNTAX-CASE code. That implies a stack of translation phases:
macro expansion requires compilation, which may require macro expansion,
which requires compilation, and so on.
--
Bradd W. Szonye
http://www.szonye.com/bradd

Report this thread to moderator Post Follow-up to this message
Old Post
Bradd W. Szonye
10-29-04 08:58 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Scheme archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:18 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.