This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Re: Swedis Place Name Generator
Erik Sigra wrote:
>
> Have you thought about a rule called "replace", that works similar to
> reject, but instead of rejecting, it replaces? For example:
>
> (mainpart (replace preliminary-mainpart (hh h) (rrr rr)))
>
> This would fix "Southhall" and "Norrryd".
This never occurred to me, and it's a really great idea! A handy
way to sneak in some context-sensitivity without having to make
the grammar really complicated.
Stan