jmeaster30 / vore

VerbOse Regular Expressions - Regular Expression Engine with Verbose English-like Syntax
MIT License
1 stars 0 forks source link

Synonyms so people can use what words they want #73

Open jmeaster30 opened 1 year ago

jmeaster30 commented 1 year ago

This would be adding aliases for words that have interchangeable meanings. I already have an alias for 'transform' called 'function'. We could add aliases for a lot more things like all the operators.

Pros:

Cons:

jmeaster30 commented 1 year ago

The more and more I think about this, the more I really want to have it.

My reasoning is this language was meant to fix the issue with regex where it is super difficult to remember what each rune means and when to use them. I don't want to just move the problem from the user remember a 1 or 2 character sequence to remembering what word to use. Thus, I believe the correct move is to allow for more aliases for things based on synonyms so people just have to remember the intent of each command/operation instead of being forced to remember a specific word

jmeaster30 commented 1 year ago

I still want to be careful with the aliases as too many could be confusing too