From: Martin DeMello Date: 2004-06-07T17:38:39+09:00 Subject: Re: Check assertion in Ruby Robert Klemme wrote: > > Well, the proper way would be to write a parser for a macro language. You > can get quite far with a simple hack like the one attached, although that > does only support nested macro invocations without using () for sub > macros. (Reason is that you can't parse nested brackets with regular > expressions.) I wonder how adaptable camlp4 is. martin