Related articles |
---|
[12 earlier articles] |
Re: Best tools for writing an assembler? sebastien.fricker@gmail.com (=?ISO-8859-1?Q?S=E9bastien_Fricker?=) (2014-02-24) |
Re: Best tools for writing an assembler? gah@ugcs.caltech.edu (glen herrmannsfeldt) (2014-02-24) |
Re: Best tools for writing an assembler? gah@ugcs.caltech.edu (glen herrmannsfeldt) (2014-02-24) |
Re: Best tools for writing an assembler? lkrupp@pssw.com (Louis Krupp) (2014-02-24) |
Re: Best tools for writing an assembler? ivan@ootbcomp.com (Ivan Godard) (2014-02-24) |
Re: Best tools for writing an assembler? ivan@ootbcomp.com (Ivan Godard) (2014-02-24) |
Re: Best tools for writing an assembler? james.harris.1@gmail.com (James Harris) (2014-02-24) |
Re: Best tools for writing an assembler? hu47121@usenet.kitty.sub.org (2014-02-25) |
Re: Best tools for writing an assembler? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2014-02-25) |
Re: Best tools for writing an assembler? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2014-02-25) |
Re: Best tools for writing an assembler? rpw3@rpw3.org (2014-02-25) |
Re: Best tools for writing an assembler? walter@bytecraft.com (Walter Banks) (2014-02-27) |
Re: Best tools for writing an assembler? noitalmost@cox.net (noitalmost) (2014-02-27) |
[3 later articles] |
From: | "James Harris" <james.harris.1@gmail.com> |
Newsgroups: | comp.compilers |
Date: | Mon, 24 Feb 2014 23:18:01 -0000 |
Organization: | A noiseless patient Spider |
References: | 14-02-018 14-02-021 14-02-023 14-02-030 |
Keywords: | assembler |
Posted-Date: | 24 Feb 2014 22:16:58 EST |
"noitalmost" <noitalmost@cox.net> wrote in message
> I wouldn't bother with any generation tools like flex or bison, unless
> you want to gain experience with those tools for some other project.
IMO this is very valid. My own experience was that writing a compiler by
hand (albeit using a language with inbuilt RE handling) was much easier than
using some of the popular tools. And the hand-written nature of the parser
helped produce good error messages.
It wouldn't have worked without some basic rules being established and for
sure they were hard to decide on. But once in place the rest of it was
easier. If it's of help to the OP I wrote it up in a fairly long post at
https://groups.google.com/d/topic/comp.lang.misc/ZsdLITOXL-w/discussion
It was for a compiler but the points should apply well to an assembler too.
James
Return to the
comp.compilers page.
Search the
comp.compilers archives again.