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 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> 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 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.