Theiling Online    Sitemap    Conlang Mailing List HQ   

Re: PIE Soundchanges - Grassman & Bartholomae

From:Henrik Theiling <theiling@...>
Date:Monday, May 8, 2006, 20:51
Hi!

Benct Philip Jonsson writes:
> Henrik Theiling skrev: > > > This is because the replacement is allowed to contain group names if > > these are used in the match as well. The compiler then replaces the > > group name in the replacement by the internal $<number> it uses for > > that group in the match. This only works when the group name is > > unique in the match, which is why you cannot refer to C in a match > > like ChC (there are two C's). The above rule can be rewritten to move > > one C into a context, but this need not be possible for arbitrary > > metathesis rules. Extending this is on by TODO list. > > By trial and error (and peeking in the SCHcompiler output module) > I've found that > > (C) \3 > C
Note that using internal match numbers is definitely not supported and will probably break in future versions of the compiler. So please stay with writing one rule for each consonant for now.
> works for degemination and > > C > _ _
This is perfectly supported syntax.
> works for gemination. This probably is exploiting a bug ..
Not a bug, but in internal structure. I will take a note that matching geminates should be supported, or more generally, Perl regexp numbers should be supported and properly renumbered. **Henrik

Reply

Benct Philip Jonsson <bpj@...>