From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by sourceware.org (Postfix) with ESMTPS id 5A0AE3858C60 for ; Tue, 28 Dec 2021 10:31:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5A0AE3858C60 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=starynkevitch.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=starynkevitch.net Received: (Authenticated sender: basile@starynkevitch.net) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 0ABB6FF808 for ; Tue, 28 Dec 2021 10:31:07 +0000 (UTC) Message-ID: <9eecb822-d055-20c1-44ee-82ce83fce54a@starynkevitch.net> Date: Tue, 28 Dec 2021 11:31:00 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 To: libc-help@sourceware.org Content-Language: en-US From: Basile Starynkevitch Subject: examples of customized printf X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_40, HTML_MESSAGE, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: libc-help@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-help mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Dec 2021 10:31:12 -0000 Hello all,, For the RefPerSys project (see http://refpersys.org/ and code on https://github.com/RefPerSys/refpersys-in-c/ ....) we need several examples of Customizing |printf| We want %V to print RpsValue_t ( intptr_t, when odd it is a tagged integer, when even and non-null it is a valid pointer to some struct). Examples of customizing printf for GNU guile could be enough. Happy new year 2022. NB. I also dream of finding European partners for RefPerSys within some HorizonEurope consortium. Then contact me by email (perhaps at office, CEA LIST, to basile.starynkevitch@cea.fr) -- Basile Starynkevitch (only mine opinions / les opinions sont miennes uniquement) 92340 Bourg-la-Reine, France web page: starynkevitch.net/Basile/