ucto icon indicating copy to clipboard operation
ucto copied to clipboard

Extend the %MACRO% expansion in META-RULES to all rules

Open kosloot opened this issue 7 years ago • 2 comments

This might be handy to accommodate for repetitive patterns. Like ['`’‘´]

kosloot avatar May 02 '18 10:05 kosloot

Closely related: At the moment only some predefined patterns may be used. Namely: The [] delimited values form the configuration files, which form a closed set: { ORDINALS, ABBREVIATIONS, TOKENS, ATTACHEDPREFIXES, ATTACHEDSUFFIXES, UNITS, CURRENCY, PREFIXES, SUFFIXES} These all define lists of 'tokens' to handle special.(as defined in the META_RULES) It might be a good idea to allow for user defined lists too.

Also informative for @Irishx I think.

kosloot avatar Oct 20 '18 14:10 kosloot

I wrote:

The [] delimited values from the configuration files, which form a closed set: { ORDINALS, ABBREVIATIONS, TOKENS, ATTACHEDPREFIXES, ATTACHEDSUFFIXES, UNITS, CURRENCY, PREFIXES, SUFFIXES}

Apart from those, there are some more predefined values that are very special, like: EOSMARKERS, QUOTES and FILTER These have to be handled separately in the future too. But with some trickery. the other ones can be integrated in the new macro system I guess. Still not trivial and work in progress

kosloot avatar Aug 23 '21 14:08 kosloot