m4-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Standard way to use m4sugar


From: Eric Blake
Subject: Re: Standard way to use m4sugar
Date: Mon, 26 Nov 2018 11:25:20 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0

On 11/24/18 6:47 PM, Peng Yu wrote:
Hi,

I see that m4sugar has been included in autoconf and bison. It sounds
like it could be made into a stand alone package. Unfortunately, it is
not.

Making it an independent package would be a topic to bring up on the autoconf list (as its current maintainer). But remember, part of Autoconf's m4sugar language is not just the m4 macros it provides, but the fact that it is a perl script wrapper around m4 that does some postprocessing that m4 itself cannot do (such as providing quadrigraph support, or actually making things like m4_warn() provide a warning to the end user). So unless you are planning on preserving the perl wrapper around m4, there is not much point in porting the m4sugar language to pure m4.

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]