Re: Standard way to use m4sugar
Eric Blake <[email protected]> Mon, 26 Nov 2018 11:25:20 -0600
| Newsgroups | gmane.comp.gnu.m4.general |
|---|---|
| Organization | Red Hat, Inc. |
| Message-ID | <[email protected]> |
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