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: another C-like language? was Compilers :) Date: Wed, 4 Jan 2023 12:39:10 -0800 (PST) Organization: Compilers Central Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <23-01-006@comp.compilers> References: <23-01-001@comp.compilers> <23-01-002@comp.compilers> <23-01-003@comp.compilers> <23-01-004@comp.compilers> <23-01-005@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="10575"; mail-complaints-to="abuse@iecc.com" Keywords: C, design, comment Posted-Date: 04 Jan 2023 16:12:48 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: <23-01-005@comp.compilers> Xref: csiph.com comp.compilers:3275 On Wednesday, January 4, 2023 at 10:26:58 AM UTC-8, Aharon Robbins wrote: (snip, where I wrote about the original C++ compiler.) > This is true that it's around, but I think it has copyright / license > limitations that would prevent building something new on top of it. > [The copy at the computer history museum says "The source code in this > section is posted with the permission of the copyright owner for > historical research purposes only." It's from 1997 so I would think > it's a long way from modern C++. -John] It sounds like the OP is, so far, in a research project. But also seems to want something like C++, but without all the fancy new features. Starting with a compiler without those features, seemed like a good way to go. (I believe some have suggested, over the years, a C--, though exactly which features are removed, I don't know.) The process for starting with copyright code, and modifying it until all copyright parts are gone, seems to be well known, though I suspect never easy. [I wouldn't try mutating out the copyrighted stuff. Depending on how aggressive the copyright holder is, they can claim copyright in the structure and sequence of the code. And if it's a research project, it's not that hard to make a parser and symbol table using compiler tools better than 1997 era yacc. -John]