erick-alcachofa d0599d374f
feat: Add language grammar and adjusted tokenizer
Signed-off-by: erick-alcachofa <erick@artichoke.dev>

This commit lays the foundational groundwork for the artichoke language
parser by introducing the formal language grammar specification.

The tokenizer was updated to include new operators and keywords, also
added the posibility to handle comments.

Key Additions:
- Implemented support for C-style block comments (`/* ... */`),
  including error handling for unclosed comments.
- Added all necessary tokens for missing keywords (e.g., `module`,
  `export`, `using`, `match`, `loop`) and operators (e.g., `+=`, `:=`,
  `.#`, `.*`, `.@`).
- The `Token` enum has been expanded to reflect the full language
  feature set.

Documentation:
- Added `docs/grammar.ebnf` which contains the official, well-structured
  EBNF grammar for the language.
- Added `docs/readme.md` providing a detailed technical overview of the
  language's features, syntax, and semantics.

BREAKING CHANGE: The `kwVariant` and `kwMut` tokens have been removed to
align with the updated language design defined in the new grammar.
2025-10-01 18:51:09 -06:00
2025-03-04 12:50:53 -06:00
2025-05-10 21:07:49 -06:00
2025-03-04 12:50:53 -06:00
2025-05-10 21:07:49 -06:00
2025-03-04 12:50:53 -06:00
2025-03-01 01:27:46 -06:00
2025-03-01 01:27:46 -06:00
2025-03-01 01:27:46 -06:00

artichoke

[!note] WIP Highly experimental and in development

A programming language created to satisfy my personal preferences and requirements for programming.

Description
artichoke programming language
https://lang.artichoke.dev/
Readme GNU-AGPLv3 672 KiB
Languages
C++ 98.4%
CMake 1.3%
Shell 0.3%