diff --git a/src/rsprocess/grammar.lalrpop b/src/rsprocess/grammar.lalrpop index 49fcef4..6c7eeba 100644 --- a/src/rsprocess/grammar.lalrpop +++ b/src/rsprocess/grammar.lalrpop @@ -21,7 +21,8 @@ grammar(translator: &mut Translator); match { r"[0-9]+" => NUMBER } else { - r"([[:alpha:]]|\p{Emoji})([[:word:]]|\p{Emoji})*" => WORD + // r"([[:alpha:]]|\p{Emoji})([[:word:]]|\p{Emoji})*" => WORD + r"(\p{L}|\p{Emoji})(\p{L}|\p{Emoji}|\p{Dash}|\p{N})*" => WORD } else { _ } diff --git a/testing/first.experiment b/testing/first.experiment index 54e99a2..0b289d6 100644 --- a/testing/first.experiment +++ b/testing/first.experiment @@ -1,2 +1,2 @@ Weights: 10,10 -Sets: {a,b},{a, 😵} \ No newline at end of file +Sets: {a,b},{a, 㐀, 豈} \ No newline at end of file diff --git a/testing/first.system b/testing/first.system index e99d558..8d16057 100644 --- a/testing/first.system +++ b/testing/first.system @@ -1,4 +1,4 @@ -Environment: [x = {a}.🐶, 🐶 =({a}.nill + {b}.nill)] +Environment: [x = {a}.ñ, ñ =({a}.nill + {b}.nill)] Initial Entities: {a, b} Context: [({a,b}.{a}.{a,c}.x + {a,b}.{a}.{a}.nil)] -Reactions: ([r: {a,b}, i: {c}, p: {b, 😵}]) +Reactions: ([r: {a,b}, i: {c}, p: {b, ñ, 㐀, 豈, a12-3, 🙏}])