Re: Writing Assembler! (A Johnstone)
17 May 1997 22:53:43 -0400

          From comp.compilers

Related articles
Writing Assembler! (Khoo Kiak Wei) (1997-05-13)
Re: Writing Assembler! (1997-05-14)
Re: Writing Assembler! (Clark L. Coleman) (1997-05-16)
Re: Writing Assembler! (1997-05-17)
Re: Writing Assembler! (Ben Bullock) (1997-05-17)
Re: Writing Assembler! (1997-05-17)
Re: Writing Assembler! (Mr J R Hall) (1997-05-22)
Re: Writing Assembler! (JUKKA) (1997-05-22)
Re: Writing Assembler! (Charles Fiterman) (1997-05-22)
Re: Writing Assembler! (1997-05-25)
Re: Writing Assembler! (1997-05-25)
Re: Writing Assembler! (JUKKA) (1997-06-09)
[11 later articles]
| List of all articles for this month |

From: (A Johnstone)
Newsgroups: comp.compilers
Date: 17 May 1997 22:53:43 -0400
Organization: Royal Holloway, University of London
References: 97-05-156 97-05-214
Keywords: tools, parse, assembler

  Khoo Kiak Wei wrote:

  > I am planning to write a generic assembler, as a work of learning
  > flex and bison. However, after reading a book on Lex and Yacc, I am
  > still confused on how should I start!?

Sorry to plug my stuff, but the RDP parser generator comes with an
example assembler for my scalable RISC architecture. RDP has a lot of
support for assembler style translators including automatic generation
of multipass parsers, built in symbol table handling and tidy handling
of line ends. It is basically an LL(1) parser generator (the
distribution includes a working grammar for Pascal, for instance) but
with some tweaks to help with line oriented languages.

The current proper release is 1.4. There is also a 1.5alpha at the ftp
site but be warned that the real version 1.5 (which is only available
on my hard disk) differs in details.

(We are working on a comprehensive tutorial manual for the system,
hence the long delay in the relese of 1.5 for those who have been
waiting patiently).

You can get RDP for Unix and MS-DOS (and Windows of course) by looking in


    Dr Adrian Johnstone, Dean of the Science Faculty, Dept of Computer Science,
        Royal Holloway, University of London, Egham, Surrey, TW20 0EX, England.
Email: Tel: +44 (0)1784 443425 Fax: +44 (0)1784 443420


Post a followup to this message

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