From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by sourceware.org (Postfix) with ESMTPS id 3C44E3858C52 for ; Fri, 9 Sep 2022 18:21:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3C44E3858C52 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-x52a.google.com with SMTP id b35so3820825edf.0 for ; Fri, 09 Sep 2022 11:21:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=Wg88Z825MTb6ayXa444xeAMnfSyObN1b9785pp9OY8M=; b=TWp9gPnV3RZGohY550JH3ewT0fE+j4s+iUVF4QKhm39QXIspWLwmvB5MuMk6IMS+3Z ST2mEhaFbK9ceXmFEZdJy/2RVrdNHCRHJ950N/jIM5JvC5lotUy2forxzy/fUlwuttTD Pnv9EHHwt5wK+rMSR3WqC96rIIa9Q4oT5+6NaC3m4rrI4/9nPF5uqwSb5ZEAbCEK08Mc GFFpkGfNwwKhwjcWWqIyLuzuO/3xf+QJfcc/0v+lM/GPenSrZblm2ah0+Hk8gLiS81zq rv23S/qCZg4MDhxZFve8PzOrFNxyUEkVIlimXURW4bh/8N0rwxStSE74wF0swDyoKuzt UZvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=Wg88Z825MTb6ayXa444xeAMnfSyObN1b9785pp9OY8M=; b=UGjsTYBKCk6KAVCHd2tQYkhom9Jq3bFxySe86eOBfT/1Fbs4CtzGidb03TNTLjw2NB 1duxVodbSkLfmZHubU00jBWFwFBocKQK0/HTomIiujTnTsRRIs/9hmpm9vF3K7BgLQZA 0c1yhmuQcLc+nMHxpxe9+qXkkgVUZmievmrzWWSKH2TCJOz9XKhqQsYFm5X5QYiJ83DR YqXXahWvEX6OsnJPTrWMtuU/QmevdeUWNZrW+zwAeKJ+FJ9BiSOheIUOWs7hO9ITD+wh lG66/6+VowdN//qTPEiHZ/e79kHyHkqoFBzn8ib0AGpHiX7NO4Q7711lDgJhICF3Uphx NJqQ== X-Gm-Message-State: ACgBeo113ynw1NO3AvmFvFJI1g7e7Nek3qDYZnoUZTXJ+sMydQlKSl0v /gW9Wawg/3nb6soIO65bnMeG2xnm3heL/GrA15M= X-Google-Smtp-Source: AA6agR5ktmNErczoGJmMWHh1ofprDRUgNrZKADQJYljqPtTOjyboPVMFtOJny8UqkDvG9My7P1GpXiv1fkzQ0fXwDEo= X-Received: by 2002:a05:6402:44c:b0:445:f2f1:4add with SMTP id p12-20020a056402044c00b00445f2f14addmr12700419edw.257.1662747677842; Fri, 09 Sep 2022 11:21:17 -0700 (PDT) MIME-Version: 1.0 References: <20220909164140.41729.qmail@s810.sureserver.com> In-Reply-To: <20220909164140.41729.qmail@s810.sureserver.com> From: Jonathan Wakely Date: Fri, 9 Sep 2022 19:21:06 +0100 Message-ID: Subject: Re: [RFC] database with API information To: SAIFI Cc: "gcc@gcc.gnu.org" Content-Type: multipart/alternative; boundary="000000000000b05f6305e8429c0b" X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --000000000000b05f6305e8429c0b Content-Type: text/plain; charset="UTF-8" On Fri, 9 Sep 2022, 17:42 SAIFI, wrote: > > Perhaps this is something the current build scripts take care of anyway. > Is it possible to reuse ? > The makefiles could be adapted to add an extra step into the build process but it would take more effort to make it work. The proposed script already works without changing the build system. > > > We'd also need to implement a CSV parser from scratch. > > > > Would any of the C++11 compliant CSV parsing libraries make the cut in > your analysis ? > I'm not going to waste my time looking. > Vince CSV parser (RFC4180 + flavours) > https://github.com/vincentlaucsb/csv-parser > > C++11 header only (MT can be turned on/off). > https://github.com/ben-strasser/fast-cpp-csv-parser > > If not, Is there is something else that is needed for the CSV parsers to > qualify ? > Why add an extra dependency that would have to be included in the GCC sources, when Python already has what's needed to do this. Somebody has written a new tool, and you seem to be asking them to rewrite it for your preferences. If you want to rewrite the script in C++ feel free to proposed a patch, but this digression for your curiousity doesn't seem productive to me. --000000000000b05f6305e8429c0b--