Groups | Search | Server Info | Login | Register


Groups > comp.compilers > #215

Re: Language Design

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!news.misty.com!news.iecc.com!nerds-end
From tm <thomas.mertes@gmx.at>
Newsgroups comp.compilers
Subject Re: Language Design
Date Wed, 27 Jul 2011 08:11:59 -0700 (PDT)
Organization Compilers Central
Lines 38
Sender news@iecc.com
Approved comp.compilers@iecc.com
Message-ID <11-07-039@comp.compilers> (permalink)
References <11-07-027@comp.compilers>
NNTP-Posting-Host news.iecc.com
X-Trace gal.iecc.com 1311799782 66277 64.57.183.58 (27 Jul 2011 20:49:42 GMT)
X-Complaints-To abuse@iecc.com
NNTP-Posting-Date Wed, 27 Jul 2011 20:49:42 +0000 (UTC)
Keywords design
Posted-Date 27 Jul 2011 16:49:42 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:215

Show key headers only | View raw


On 18 Jul., 22: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).

You are trying to do two things simultaneously: Designing a language
and implementing it for a processor. I suggest you concentrate on one
part. Either implement an existing language, like C, for this
processor, or design a language and forget about the processor.

When you implement an existing language you can build on the work of
others. Perhaps you can modify an existing compiler and use existing
libraries and documentation.  Writing a runtime library is usually
much more work than writing a compiler. For an existing language you
can also expect to find helping hands and useful information in the
internet.

When you design a language your implementation can use an interpreter
or you compile to some well known base, like C or JVM. This way you
can also build on the work of others.

Your language needs features, that are not present or not well
supported in other languages. Otherwise people will not be
interested. Getting other people interested might not be your goal,
but it can lead to helping hands (this was the reason, why I released
Seed7).

> Any advice for a newbie?

If you a relly a newbie, I suggest you start with a simpler project.

Greetings Thomas Mertes
--
Seed7 Homepage:  http://seed7.sourceforge.net
Seed7 - The extensible programming language: User defined statements
and operators, abstract data types, templates without special
syntax, OO with interfaces and multiple dispatch, statically typed,
interpreted or compiled, portable, runs under linux/unix/windows.

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