Skip to content

add support for utf8 expressions - #129

Closed
woegster wants to merge 2 commits into
codeplea:masterfrom
woegster:master
Closed

add support for utf8 expressions#129
woegster wants to merge 2 commits into
codeplea:masterfrom
woegster:master

Conversation

@woegster

Copy link
Copy Markdown

by simply not using isalpha() but instead replicating the switch() found in the else path, the parser allows UTF8 expressions
I needed this for my side projects, which uses some german engineering system that uses umlauts

@codeplea

codeplea commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Thanks for the patch. This is a bigger change than it looks: any byte not in the list starts an identifier, so stray characters like $ or @ become unknown-variable errors instead of syntax errors. Closing, see CONTRIBUTING. TinyExpr is small enough that you can add this yourself in a fork. It only stays that way if I don't implement every request like this one.

@codeplea codeplea closed this Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants