feat: introduce arrow tokens

Refs: #16
This commit is contained in:
2026-06-24 15:50:37 +02:00
parent 1965ab26af
commit d497e2de45
2 changed files with 9 additions and 0 deletions
+2
View File
@@ -144,6 +144,8 @@ token_r lexer::next_token() {
{ ">", token_t::GreaterThan },
{ "<=", token_t::LessEq },
{ ">=", token_t::GreaterEq },
{ "->", token_t::SlimArrow },
{ "=>", token_t::FatArrow },
};
token_t type = token_t::None;