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

Delphi to bytecode compiler
Hi all!

I'm wondering what would be involved in making a Delphi to bytecode
compiler... Does anyone have any experience writing compilers, that
could give me some advice?

The reason I think this would be useful, is that it would broaden the
scope of the Java platform, enabling many languages to be used (just
like .NET). There are already several langages (e.g. Java, Jython,
Groovy, and perhaps others), but it would be nice to have a language as
close as possible to Delphi syntax that could likewise compile into
bytecode. This would greatly facilitate converting projects from Delphi
to Java.

Any ideas?

Thanks!
Joanthan Neve.

Report this thread to moderator Post Follow-up to this message
Old Post
Jonathan Neve
09-03-04 09:03 PM


Re: Delphi to bytecode compiler
Jonathan Neve schrieb:
> I'm wondering what would be involved in making a Delphi to bytecode
> compiler...

there will be an upcoming book: Compiling with C# and Java
http://www.scifac.ru.ac.za/compilerbook/


Martin


Report this thread to moderator Post Follow-up to this message
Old Post
Martin Waldenburg
09-08-04 08:57 AM


Re: Delphi to bytecode compiler
Jonathan Neve <jonathan@microtec.fr> schreibt:

>I'm wondering what would be involved in making a Delphi to bytecode
>compiler...

You have been asking this question in so many groups, and obviously
you are not pleased by the answers. Perhaps you should specify what
exactly you want to hear.

Making an compiler requires at least:
- understanding compilers (parsers...)
- understanding grammars (syntax, semantics)
- understanding programming models (data models, runtime system)
- understanding the target platform(s) (runtime environment)
- understanding the target machine (code generation)
and finally
- sit down and write...
or
- find some fool to write it for you ;-)

DoDi

Report this thread to moderator Post Follow-up to this message
Old Post
VBDis
09-08-04 08:58 AM


Re: Delphi to bytecode compiler
VBDis wrote:
> You have been asking this question in so many groups, and obviously
> you are not pleased by the answers. Perhaps you should specify what
> exactly you want to hear.

Well, actually, I posted it everywhere at the same time, but the one
in this group (strangely) took much longer to come through. I did get
some interesting answers from the other groups though. I am basically
asking whether any such compiler already exists, and if not, how what
exactly would be involved in doing it.

> - sit down and write...

I would if I had both time and sufficient competance. I certainly
don't have the former, and as for the latter, I would only be able to
aquire it by spending a considerable amount of time learning more
about compiler technology. But that leads me back to point 1... :-)

> or - find some fool to write it for you ;-)

Gladly! But it wouldn't necessarily require that they be a fool...
Anyone in the Delphi or Java world would have much to gain from such a
project. It's not as though I were asking someone to do something that
would only be of any value to me personnaly...

Anyway, thanks for replying.

Regards,
Jonathan Neve.


Report this thread to moderator Post Follow-up to this message
Old Post
Jonathan Neve
09-13-04 09:00 PM


Sponsored Links




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

Compilers 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 04:59 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.