Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.linkpendium.com!news.linkpendium.com!news.iecc.com!nerds-end From: anton@mips.complang.tuwien.ac.at (Anton Ertl) Newsgroups: comp.compilers Subject: Re: Language Design Date: Tue, 19 Jul 2011 13:12:39 GMT Organization: Institut fuer Computersprachen, Technische Universitaet Wien Lines: 18 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <11-07-031@comp.compilers> References: <11-07-027@comp.compilers> NNTP-Posting-Host: news.iecc.com X-Trace: gal.iecc.com 1311403095 67596 64.57.183.58 (23 Jul 2011 06:38:15 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Sat, 23 Jul 2011 06:38:15 +0000 (UTC) Keywords: design Posted-Date: 23 Jul 2011 02:38:15 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:207 Billy Mays <81282ed9a88799d21e77957df2d84bd6514d9af6@myhashismyemail.com> writes: >I am trying to design a programming language for a simple processor >(16 bit, ~10 instructions, 16 registers). 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. Why not. Anyway, you can implement Forth or something similar, which is Turing-complete and relatively easy to implement. - anton -- M. Anton Ertl anton@mips.complang.tuwien.ac.at http://www.complang.tuwien.ac.at/anton/