Re: Good practical language and OS agnostic text?

"Jonathan Thornburg" <jthorn@astro.indiana.edu>
21 Apr 2012 15:04:14 GMT

          From comp.compilers

Related articles
[31 earlier articles]
Re: Good practical language and OS agnostic text? compilers@is-not-my.name (2012-04-21)
Re: Good practical language and OS agnostic text? askmeforit@myisp.com (Joe Schmo) (2012-04-21)
Re: Good practical language and OS agnostic text? norjaidi.tuah@ubd.edu.bn (Nor Jaidi Tuah) (2012-04-21)
Re: Good practical language and OS agnostic text? ulimakesacompiler@googlemail.com (Uli Kusterer) (2012-04-21)
Re: Good practical language and OS agnostic text? ulimakesacompiler@googlemail.com (Uli Kusterer) (2012-04-21)
Re: Good practical language and OS agnostic text? bc@freeuk.com (BartC) (2012-04-21)
Re: Good practical language and OS agnostic text? jthorn@astro.indiana.edu (Jonathan Thornburg) (2012-04-21)
Re: Good practical language and OS agnostic text? cr88192@hotmail.com (BGB) (2012-04-21)
Re: Good practical language and OS agnostic text? compilers@is-not-my.name (2012-04-22)
Re: Good practical language and OS agnostic text? compilers@is-not-my.name (2012-04-22)
Re: Good practical language and OS agnostic text? tk@ic.unicamp.br (Tomasz Kowaltowski) (2012-04-22)
Re: Good practical language and OS agnostic text? cr88192@hotmail.com (BGB) (2012-04-22)
Re: Good practical language and OS agnostic text? compilers@is-not-my.name (2012-04-22)
[6 later articles]
| List of all articles for this month |
From: "Jonathan Thornburg" <jthorn@astro.indiana.edu>
Newsgroups: comp.compilers
Date: 21 Apr 2012 15:04:14 GMT
Organization: Compilers Central
References: 12-04-019 12-04-021 12-04-040 12-04-048
Keywords: books, interpreter, comment
Posted-Date: 21 Apr 2012 17:18:50 EDT

BartC <bc@freeuk.com> wrote:
> Start with a very simple language. Perhaps even a version of Basic (as a
> useful language consisting of Let, If, Goto, Print (and perhaps Input) can
> be created without any structured statements; only expressions need
> recursive methods to deal with). You might consider also interpreting the
> language rather than translating to a target language. And use an easy,
> dynamic language to implement it all in. Stay away from C, C++, or anything
> else with curly braces.
>
> (Sorry, I can't recommend any books because I haven't read any...)


Another book of interest is


      P. J. Brown
      "Writing Interactive Compilers and Interpreters"
      (Wiley, 1981)


It's a completely non-mathematical (& pretty "basic", i.e., assuming
very little prior knowledge) tour through what's needed to write a
Basic interpreter.


--
-- "Jonathan Thornburg [remove -animal to reply]" <jthorn@astro.indiana-zebra.edu>
      Dept of Astronomy & IUCSS, Indiana University, Bloomington, Indiana, USA
[It's not a bad book. It's quite old, but you can usually find a copy in the
usual online used bookstores. -John]


Post a followup to this message

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