Re: Interest in Contributing Diagnostic System to GCC

2025-02-03 Thread JohnyTheCarrot via Gcc
Hi David, I appreciate your very nice words! I wanted to clarify a couple points, as I'm unsure we're entirely on the same page. I am not proposing a new way to parse C++, nor am I using Rust. Mjolnir is written entirely in C++, and its only purpose is to take "labels" i.e, a span with an optio

Re: Interest in Contributing Diagnostic System to GCC

2025-02-03 Thread David Malcolm via Gcc
On Mon, 2025-02-03 at 11:24 +0100, Mark Wielaard wrote: > Hi Tuur, > > On Mon, Feb 03, 2025 at 09:46:37AM +, JohnyTheCarrot via Gcc > wrote: > > I'm in the process of writing my own C compiler for educational > > purposes. > > To this end, I have decided to integrate into my compiler my own >

Re: Interest in Contributing Diagnostic System to GCC

2025-02-03 Thread David Malcolm via Gcc
On Mon, 2025-02-03 at 11:49 +0100, Basile Starynkevitch wrote: > > > > > > I'm in the process of writing my own C compiler for educational > > purposes. > > > Then look also into https://frama-c.com/ and > https://github.com/bstarynk/bismon > and https://nwcc.sourceforge.net/ and https://bellar

Re: Interest in Contributing Diagnostic System to GCC

2025-02-03 Thread David Malcolm via Gcc
On Mon, 2025-02-03 at 09:46 +, JohnyTheCarrot via Gcc wrote: > Dear GCC Developers, Hi Tuur > > I'm in the process of writing my own C compiler for educational > purposes. > To this end, I have decided to integrate into my compiler my own C++ > port ( https://github.com/johnythecarrot/mjolni

Re: Interest in Contributing Diagnostic System to GCC

2025-02-03 Thread Jason Merrill via Gcc
On Mon, Feb 3, 2025 at 5:58 AM JohnyTheCarrot via Gcc wrote: > Dear Basile and other GCC friends, > > I may have not been clear about the purpose of my code. > It does not analyze code, it merely formats / constructs diagnostics for > printing to a terminal. > > I am looking to perhaps contribute

Re: Interest in Contributing Diagnostic System to GCC

2025-02-03 Thread Jonathan Wakely via Gcc
On Mon, 3 Feb 2025 at 10:49, Basile Starynkevitch wrote: > > > > > > > I'm in the process of writing my own C compiler for educational purposes. > > > Then look also into https://frama-c.com/ and > https://github.com/bstarynk/bismon > and https://nwcc.sourceforge.net/ and https://bellard.org/tcc/

Re: Interest in Contributing Diagnostic System to GCC

2025-02-03 Thread JohnyTheCarrot via Gcc
Dear Basile and other GCC friends, I may have not been clear about the purpose of my code. It does not analyze code, it merely formats / constructs diagnostics for printing to a terminal. I am looking to perhaps contribute the format or presentation of this tool to GCC as an option, utilizing th

Re: Interest in Contributing Diagnostic System to GCC

2025-02-03 Thread Mark Wielaard
Hi Tuur, On Mon, Feb 03, 2025 at 09:46:37AM +, JohnyTheCarrot via Gcc wrote: > I'm in the process of writing my own C compiler for educational purposes. > To this end, I have decided to integrate into my compiler my own C++ > port ( https://github.com/johnythecarrot/mjolnir ) of the Rust crate