[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M4 String Functions + Macro Expansion
From: |
Akim Demaille |
Subject: |
Re: M4 String Functions + Macro Expansion |
Date: |
Thu, 16 Dec 2004 09:47:11 +0100 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) |
>>> "Noah" == Noah Misch <address@hidden> writes:
> I hope I have missed a general solution. Ideas?
Fix m4. It has fundamental flaws from its inception:
- text processing builtins (regexp etc.) should return quoted strings,
they do not.
- eval should do what it does it almost all the other interpreted
language: take the argument and do as if it were evaluated by the
top level (including side effects). Of course, as a builtin, it
should return its result *quoted*.
- We need to manipulate all the characters, including the quotes. We
need a buitin escaping feature, not the quadrigraphs.
We have none today, we're sc*ed.