Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Ian Collins Newsgroups: comp.lang.c Subject: Re: C2 Aims to Modernize the C Language Date: Tue, 13 Feb 2018 07:13:16 +1300 Lines: 35 Message-ID: References: <20180211003235.f8b81e86a9275dd16af8eb40@gmail.com> <20180211044846.3164b7df534c8d6c3c127b49@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net e3KWYiO70Hw+Iw9+4Gjw/A8DyDGDLsTkCbGTABMuNoDIpZBO2Y Cancel-Lock: sha1:LEKDig4tSEymWiFtKv+usYDthOI= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 In-Reply-To: Content-Language: en-US Xref: csiph.com comp.lang.c:126607 On 02/13/2018 12:11 AM, bartc wrote: > On 12/02/2018 01:10, Ian Collins wrote: >> On 02/12/2018 10:57 AM, bartc wrote: >>> On 11/02/2018 11:18, bartc wrote: >>> >>>> One of the C2 aims is specifically not to be more advanced, or do any >>>> more, just do what C does but in a more modern way. >>> >>> I've just looked at what is involved in trying out C2. >>> >>> All I need to install is the basic Cygwin along with make, cmake, gcc, >>> libncurses-dev, ncurses, Python, git and clang... >>> >>> It then says, 'C2 is based on LLVM 5.0 and some parts of Clang, so we >>> will need to build it first'. Presumably 'it' means LLVM. >>> >>> So it looks I'm not going to be trying out this language any time soon. >> >> Did you actually read the instructions? > > Did you? Yes, nice and simple. > The above is a direct quote from the Windows installation instructions > (https://github.com/c2lang/c2compiler/blob/master/INSTALL_WIN.md). > > It relies heavily on Unix tools (a massive dependency if using Windows) > and on LLVM (a massive subsystem). If you are building a compiler, why wouldn't you use a well respected opensource compiler infrastructure project? -- Ian.