Re: [NTG-context] Replacer based on function rathen than tables

2023-05-18 Thread Hans Hagen via ntg-context
On 5/18/2023 2:21 PM, Jairo A. del Rio wrote: Hi, list. There's lang-rep.mkxl and lang-tra.mkxl in the distribution which allows replacing a list of words and applying transliteration, respectively. Both are based on tables. I want to know if there's a way to use a function instead, say

[NTG-context] Replacer based on function rathen than tables

2023-05-18 Thread Jairo A. del Rio via ntg-context
Hi, list. There's lang-rep.mkxl and lang-tra.mkxl in the distribution which allows replacing a list of words and applying transliteration, respectively. Both are based on tables. I want to know if there's a way to use a function instead, say local function nice(str) return str .. " is nice"