Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Ian Collins Newsgroups: comp.lang.c Subject: Re: usecases of void foo(char **b) {} Date: Tue, 8 Nov 2016 13:46:41 +1300 Lines: 21 Message-ID: References: <8737j7gd87.fsf@bsb.me.uk> <87twbmfzah.fsf@bsb.me.uk> <87fun6f1j4.fsf@bsb.me.uk> <877f8hgb0p.fsf@bsb.me.uk> <87eg2pedkx.fsf@bsb.me.uk> <87wpghcu23.fsf@bsb.me.uk> <877f8gx44n.fsf@bsb.me.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net 5wHyaAd2Eep4clkCeKoPIww+3HtEc6zVRLrTapSLjQoMoeLGjx Cancel-Lock: sha1:HJmqu3Iv0a7gIwBZdgifTuwnaLw= User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 In-Reply-To: Xref: csiph.com comp.lang.c:96055 On 11/ 8/16 01:09 PM, BartC wrote: > On 07/11/2016 22:12, Ian Collins wrote: >> On 11/ 8/16 01:37 AM, BartC wrote: > >>> Targeting C++ is a possibility, but I can't really make use of any of >>> its higher-level features as my own language doesn't have them. And >>> probably there will be a million more warnings to have to shut up. >> >> You could use the higher level features to define you own intermediate >> language that behaves the way you want it. C++ is well suited for >> writing domain specific languages. Even without writing your own >> extensions, C++ allows you to disambiguate array and pointer function >> parameters. > > Where's the fun in that? It anyway sounds like I'll be fighting the > language 99% of the time instead of the usual 90%. Well at least you'd be fighting your own language! -- Ian