Related articles |
---|
ARM compiler/assembler written in java (any book recomendations) little.jones.family@ntlworld.com (jones) (2001-08-18) |
Re: ARM compiler/assembler written in java (any book recomendations) ken@positive-edge.com (Ken Egervari) (2001-08-20) |
Re: ARM compiler/assembler written in java (any book recomendations) taddeilg@worldnet.att.net (Leonard Taddei, P.E.) (2001-08-20) |
Re: ARM compiler/assembler written in java (any book recomendations) torbenm@diku.dk (2001-08-24) |
Re: ARM compiler/assembler written in java (any book recomendations) little.jones.family@ntlworld.com (jones) (2001-08-25) |
Re: ARM compiler/assembler written in java (any book recomendations) tfjellstrom@home.com (Thomas Fjellstrom) (2001-09-03) |
From: | torbenm@diku.dk (Torben AEgidius Mogensen) |
Newsgroups: | comp.compilers |
Date: | 24 Aug 2001 00:48:11 -0400 |
Organization: | Department of Computer Science, U of Copenhagen |
References: | 01-08-110 |
Keywords: | Java, books |
Posted-Date: | 24 Aug 2001 00:48:11 EDT |
jones <little.jones.family@ntlworld.com> writes:
>I have read the FAQ and I cant seem to find any modern book on writing
>compilers in Java except for Appel. what other good (modern if possible(I
>have the dragon book and am starting it)) for an introduction are there ?
>I would like to produce an assembler (and maybe a compiler) for the ARM arch
>in Java any advice on how best to go about it would be grateful for
"Programming language processors in Java" by David Watt and deryck
Brown seems to be quite good, but it targets a stack machine, so you
will need additional material for machine-code generation.
Appel's book is at times hard to follow, but it is fairly complete
wrt. generating code for RISC processors, register allocation and
all. If you can get the Tiger project files, you have starting point
for your own project. The first you would need to do is modify the
code-generator and frame modules to target ARM. Then, you can worry
about changing the source language. I haven't tried doing this in the
Java version, but it was reasonably easy to do in the ML version. But
then, ML is (in my opinion) a much better language for these sort of
things than Java.
Torben Mogensen (torbenm@diku.dk)
Return to the
comp.compilers page.
Search the
comp.compilers archives again.