Re: Best tools for writing an assembler?

Louis Krupp <lkrupp@pssw.com>
Mon, 24 Feb 2014 15:39:50 -0700

          From comp.compilers

Related articles
[9 earlier articles]
Re: Best tools for writing an assembler? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2014-02-21)
Re: Best tools for writing an assembler? bc@freeuk.com (BartC) (2014-02-22)
Re: Best tools for writing an assembler? noitalmost@cox.net (noitalmost) (2014-02-23)
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)
[6 later articles]
| List of all articles for this month |

From: Louis Krupp <lkrupp@pssw.com>
Newsgroups: comp.compilers
Date: Mon, 24 Feb 2014 15:39:50 -0700
Organization: Compilers Central
References: 14-02-018 14-02-021 14-02-023 14-02-030 14-02-031
Keywords: assembler
Posted-Date: 24 Feb 2014 22:09:58 EST

On Mon, 24 Feb 2014 07:32:37 +0100, Sibastien Fricker
<sebastien.fricker@gmail.com> wrote:


>On 23/02/2014 17:22, noitalmost wrote:
>>
>> 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. ..


>Sorry, but even if Flex/Bison are difficult to setup, writing a parser
>by hand is not a good way to work. ...


Everyone should hand-write a lexer and parser ... once. If you're
designing the language syntax as you go, you'll design something
that's easy to scan and parse. I agree with noitalmost that recursive
descent is the way to go.


Louis



Post a followup to this message

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