Commit Graph

2 Commits

Author SHA1 Message Date
Eric-Paul Ickhorn 70c8fc6f72 Add UTF-8 decoding utility and ASCII range check
This commit adds two main utilities:

1. It adds a function for extracting the Unicode rune encoded at a
   given offset in an UTF-8 formatted string.

2. It adds functions for checking if a rune is a Latin letter,
   whether it's lowercase or uppercase, if it's a digit, and so on.

This is particularily useful for writing the tokenizer for the scripts
which have to be parsed (the rule-parser will only accept tokens).
2024-07-01 18:18:50 +02:00
Eric-Paul Ickhorn 1bbe4fd1ca Add .gitignore, mostly with binary files
This commit adds a .gitignore with unix and windows binaries, debugging
data from valgrind (dumps) and some folders.

The folders are: .build (the build-object folder), .vscode (Visual
Studio Code / VSCodium) and .private, a private folder to hold back some
files just for convenience.
2024-07-01 16:35:17 +02:00