[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lojban] Re: My parser and ZOI
On Fri, Apr 30, 2004 at 04:39:19PM -0700, Robin Lee Powell wrote:
> I've decided that having a pre-processor just to handle ZOI wasn't
> compromising my principles too badly. The entire pre-processor is as
> follows:
>
>
> - cut -
>
> #!/bin/sh
>
> cd /home/rlpowell/www/hobbies/lojban/grammar/rats
>
> cat - | \
> perl -p -e "s/(zoi[\s.]+|la'o[\s.]+)([a-zA-Z']+)([\s.]+.*[\s.]+)(\2)([\s.]+|\z)/\1QZOIMARKER\2\3\4\5QZOIMARKER/" | \
s;/";/g";
Duh.
-Robin
--
http://www.digitalkingdom.org/~rlpowell/ *** I'm a *male* Robin.
"Many philosophical problems are caused by such things as the simple
inability to shut up." -- David Stove, liberally paraphrased.
http://www.lojban.org/ *** loi pimlu na srana .i ti rokci morsi