Max Wash b0cbe42fc4 lang: lex: add support for kebab-case identifiers and negative numbers
identifiers can now contain hyphens, with the following restrictions:
 * an identifier cannot start or end with a hyphen.
 * an identifier cannot contain more than one hyphen in a row.

kebab-case identifiers can be used for type and variable names, as well
as message identifiers and labels.

to avoid ambiguity, the lexer now enforces whitespace around most binary
operators (with a few exceptions, such as semicolons). trying to
compile a "compact" arithmetic expression, such as

	y=1+2

will now result in a "missing whitespace" error.
2025-11-07 09:49:29 +00:00
2025-11-06 10:38:40 +00:00
2025-11-05 22:39:22 +00:00
2025-11-06 10:38:23 +00:00
2025-11-06 10:38:58 +00:00
2025-11-06 10:38:50 +00:00
2024-12-16 20:57:30 +00:00
2025-08-16 21:01:49 +01:00
2025-05-09 14:01:41 +01:00
2025-04-22 15:32:08 +01:00
2025-05-09 14:01:41 +01:00
Description
Embeddable, message-based scripting language
1 MiB
Languages
C 96.7%
Vim Script 2%
CMake 1.3%