def-gthill / lexurgy

A high-powered sound change applier
GNU General Public License v3.0
47 stars 5 forks source link

Add a "do nothing" rule #13

Closed def-gthill closed 3 years ago

def-gthill commented 3 years ago

Sometimes a rule is syntactically required but the rule shouldn't do anything; this is most common for intermediate "romanizers" that should actually just emit the phonetic forms at that stage. Currently, you have to use a dummy rule like * => *. Instead, add a keyword that defines a "do nothing" rule, e.g.

Romanizer-old-examplish:
 unchanged
def-gthill commented 3 years ago

Implemented in commit 89752792a274c39178bb625d02a4f94ac5f40ad2