Re: Writing a C compiler in Java/Jython

korek@icm.edu.pl
10 Jun 2001 22:48:06 -0400

          From comp.compilers

Related articles
Writing a C compiler in Java/Jython adsharma@sharmas.dhs.org (2001-06-07)
Re: Writing a C compiler in Java/Jython torbenm@diku.dk (2001-06-08)
Re: Writing a C compiler in Java/Jython korek@icm.edu.pl (2001-06-10)
Re: Writing a C compiler in Java/Jython walter@nospamm-digitalmars.com (walter) (2001-06-10)
Re: Writing a C compiler in Java/Jython mcc@watson.ibm.com (2001-06-14)
| List of all articles for this month |

From: korek@icm.edu.pl
Newsgroups: comp.compilers
Date: 10 Jun 2001 22:48:06 -0400
Organization: MIMUW
References: 01-06-019 01-06-023
Keywords: Java
Posted-Date: 10 Jun 2001 22:48:06 EDT

> adsharma@sharmas.dhs.org (Arun Sharma) writes:
>
>>I wanted some opinions from people who might have attempted this in
>>the past: Writing a C compiler in Java. Also, would using a scripting
>>language like python (specifically the jython implementation of the
>>language) have any advantages in writing optimization algorithms ?


Torben AEgidius Mogensen wrote:
> I strongly recommend writing a compiler in a language that supports
> automatic storage reclamation (garbage collection or similar). If I
> was to choose a specific language, I would go for Standard ML, using
> the ckit package from Bell-labs
> (http://cm.bell-labs.com/cm/cs/what/smlnj/doc/ckit/).


Nice thing about implementing compiler in Standard ML is variety of
compiler-construction tools, including: MLLex,MLYacc(Yacc with nice
automatic error-correction mechanism) MLBurg(code generation) and
MLRisc(back-end with graph library) BANE(static analysis framework)


        Greetings :-)
                Michal Gajda
                korek@icm.edu.pl
                *knowledge-hungry student*


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.