From 6e46f042fdc30507b1add6432124d80f20dc86f5 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 20 Sep 2017 03:06:15 -0700 Subject: Mostly working overhaul again that strips out ending lines with "..", and simplifies a lot of the code. Also stripped out Expression, which was just a useless level of indirection. --- lib/plurals.nom | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/plurals.nom') diff --git a/lib/plurals.nom b/lib/plurals.nom index cf77f05..9df4060 100644 --- a/lib/plurals.nom +++ b/lib/plurals.nom @@ -18,18 +18,18 @@ with secrets: | return key |end}) - rule: the plural of %singular is %plural ..=: + rule [the plural of %singular is %plural] =: (secret %plurals)->%singular =: %plural (secret %singulars)->%plural =: %singular (secret %canonicals)->%plural =: %singular - rule: singular %plural ..=: + rule [singular %plural] =: %plural in (secret %singulars) - rule: plural %singular ..=: + rule [plural %singular] =: %singular in (secret %plurals) - rule: canonicalize %item-name ..=: + rule [canonicalize %item-name] =: %item-name in (secret %canonicals) - rule: rules that change plurals ..=: ["the plural of % is %"] + rule [rules that change plurals] =: ["the plural of % is %"] -- cgit v1.2.3