Groups | Search | Server Info | Login | Register


Groups > comp.compilers > #213

Re: Language Design

X-FeedAbuse http://nntpfeed.proxad.net/abuse.pl feeded by 88.191.16.109
Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.42!gegeweb.eu!nntpfeed.proxad.net!nospam.fr.eu.org!usenet-fr.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.glorb.com!usenet.stanford.edu!news.iecc.com!nerds-end
From Oleg Sesov <osesov@gmail.com>
Newsgroups comp.compilers
Subject Re: Language Design
Date Sat, 23 Jul 2011 14:58:26 -0700 (PDT)
Organization Compilers Central
Lines 30
Sender news@iecc.com
Approved comp.compilers@iecc.com
Message-ID <11-07-037@comp.compilers> (permalink)
References <11-07-027@comp.compilers>
NNTP-Posting-Host news.iecc.com
X-Trace gal.iecc.com 1311545416 11793 64.57.183.58 (24 Jul 2011 22:10:16 GMT)
X-Complaints-To abuse@iecc.com
NNTP-Posting-Date Sun, 24 Jul 2011 22:10:16 +0000 (UTC)
Keywords design
Posted-Date 24 Jul 2011 18:10:16 EDT
X-submission-address compilers@iecc.com
X-moderator-address compilers-request@iecc.com
X-FAQ-and-archives http://compilers.iecc.com
Xref x330-a1.tempe.blueboxinc.net comp.compilers:213

Show key headers only | View raw


On 19 P8QP;, 03:16, Billy Mays
<81282ed9a88799d21e77957df2d84bd6514d9...@myhashismyemail.com> wrote:
> I am trying to design a programming language for a simple processor
> (16 bit, ~10 instructions, 16 registers). B I am not sure what a
> language actually needs in order to be more useful than pure assembly,
> but is also reasonable to implement.
>
> I had originally tried to make a RPN style language where the language
> is purely stack based, but I realized it wouldn't be Turing complete.
> I'd rather not just re implement C or other commonly used languages,
> but I'm having a hard time coming up with something I'd actually want
> to use.

10 instructions CPU is not very capable, however many compiler
construction books contain examples of tiny language compilers
targeting similar environment, so they might be used to start with. To
name a few:

http://ssw.jku.at/Coco/
Coco/R parser generator and book (older editions available on the web)
contains pretty simple Taste compiler.

http://www.cs.sjsu.edu/~louden/cmptext/
Compiler Construction by Kenneth C. Louden. Rather old, but still
might be interesting.

http://foja.dcs.fmph.uniba.sk/kompilatory/docs/compiler.pdf
Compiler Construction using Flex and Bison by Anthony A. Aaby.

and others.

Back to comp.compilers | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Language Design Billy Mays <81282ed9a88799d21e77957df2d84bd6514d9af6@myhashismyemail.com> - 2011-07-18 16:16 -0400
  Re: Language Design Roberto Waltman <usenet@rwaltman.com> - 2011-07-18 18:10 -0400
  Re: Language Design Srinivas Nayak <sinu.nayak2001@gmail.com> - 2011-07-18 22:54 -0700
  Re: Language Design anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2011-07-19 13:12 +0000
  Re: Language Design Andreas Zwinkau <zwinkau@kit.edu> - 2011-07-20 13:26 +0200
  Re: Language Design mac <acolvin@efunct.com> - 2011-07-23 01:11 +0000
  Re: Language Design Christophe de Dinechin <christophe.de.dinechin@gmail.com> - 2011-07-23 08:17 -0700
  Re: Language Design Oleg Sesov <osesov@gmail.com> - 2011-07-23 14:58 -0700
  Re: Language Design Gene <gene.ressler@gmail.com> - 2011-07-26 10:28 -0700
    Re: Language Design Roberto Waltman <usenet@rwaltman.com> - 2011-07-28 13:22 -0400
    Re: Language Design torbenm@diku.dk (Torben Ægidius Mogensen) - 2011-08-08 16:11 +0200
  Re: Language Design tm <thomas.mertes@gmx.at> - 2011-07-27 08:11 -0700
  Re: Language Design "s_dubrovich@yahoo.com" <s_dubrovich@yahoo.com> - 2011-08-04 18:43 -0700
  Re: Language Design for a tiny processor "BartC" <bc@freeuk.com> - 2011-08-08 22:54 +0100

csiph-web