Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: gah4 Newsgroups: comp.compilers Subject: Re: What attributes of a programming language simplify its implementation? Date: Tue, 15 Nov 2022 06:09:52 -0800 (PST) Organization: Compilers Central Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <22-11-010@comp.compilers> References: <22-09-026@comp.compilers> <22-10-025@comp.compilers> <22-11-007@comp.compilers> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="28963"; mail-complaints-to="abuse@iecc.com" Keywords: design Posted-Date: 15 Nov 2022 11:52:20 EST X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com In-Reply-To: <22-11-007@comp.compilers> Xref: csiph.com comp.compilers:3242 On Tuesday, November 15, 2022 at 2:31:08 AM UTC-8, minf...@arcor.de wrote: (snip) > > [...] > > [Sounds like we're on our way to reinventing Forth. It had (still has) > > famously tiny implementations. -John] > Reinventing old wheels is not much fun. But use Forth as your toolbox > to make your own DSL and you can go _very_ far without diving into > all those dragon books and gigabyte compilers and toolsets. Using lex/yacc or flex/bison, you can do it without going all that deep into the books, or completely understanding them. You can write C programs mostly without knowing how C compilers work, and also for most other languages. It then depends on how you define "simplify". In the case of small embedded processors, where the size of all the code is important, then you have to count code generated by compilers and parser generators. But most often, it is how much work it is for you.