Commit Graph

120 Commits

Author SHA1 Message Date
renovate[bot] 82b665a2ad chore(deps): update rust crate memchr to v2.8.1 2026-05-27 08:41:34 +02:00
Guillem L. Jara 2ee3c722f5 interpreter: refactor IR to use native enums
That was huge lol.
2026-05-26 20:39:28 +02:00
Guillem L. Jara c5ae5cd710 interpreter: remove hinted instructions
This way, we can make room for bigger labels if necessary. We were not really using them, although this will surely force us to special-case `typeof()` and `isarray()` in the lowerer even more.
2026-05-26 17:35:01 +02:00
Guillem L. Jara 1ce27bf294 interpreter: small cleanup 2026-05-26 12:03:59 +02:00
Guillem L. Jara 2de68bc92f chore: add missing file headers 2026-05-26 09:33:14 +02:00
yor1xd 314a6cc46f interpreter: add for loop 2026-05-26 09:06:50 +02:00
Guillem L. Jara ca49529a46 interpreter: ordered boolean comparisons 2026-05-26 09:01:14 +02:00
Guillem L. Jara c0a9ab7e14 interpreter: remaining arithmetic operators 2026-05-26 08:23:55 +02:00
Guillem L. Jara 2006523ae7 interpreter: (in)equality comparisons 2026-05-26 08:01:48 +02:00
Guillem L. Jara 3b9ce0e689 interpreter: initial unary ops; tiny binops refactor 2026-05-26 07:25:20 +02:00
Guillem L. Jara 58f63c35a1 interpreter: concatenation; proper type display 2026-05-25 14:37:18 +02:00
Guillem L. Jara fa77cb8f44 parser: lower matched regexes to typed ones 2026-05-25 14:14:05 +02:00
Guillem L. Jara 5b69891bcf interpreter: strings & regexes support 2026-05-25 14:07:45 +02:00
Guillem L. Jara d30e5d33fc interpreter: initial typesystem support 2026-05-25 12:36:57 +02:00
Guillem L. Jara 98fa3c33c2 perf: switch to ahash, indexmap-allocator-api 2026-05-25 01:50:22 +02:00
Guillem L. Jara 8e979cfad1 chore(interpreter): better formatting 2026-05-25 01:11:03 +02:00
Guillem L. Jara 8b29b26050 chore: add rustfmt.toml
Pretty sure nobody was working on anything atm, sorry otherwise...
2026-05-24 02:46:09 +02:00
Guillem L. Jara 135fbaeb0a interpreter: while & do-while loops 2026-05-24 01:56:16 +02:00
Guillem L. Jara c039db632b tests: temporarily supress interpreter tests 2026-05-24 01:06:25 +02:00
Guillem L. Jara 345e7c4411 interpreter: add conditional branches, etc. 2026-05-24 01:05:30 +02:00
Guillem L. Jara d4842f7aa9 interpreter: initial vm 2026-05-24 01:05:30 +02:00
Guillem L. Jara 91361d44dc interpreter: arena integration 2026-05-24 01:05:29 +02:00
yor1xd e1cf3bf00c lexer: implement \x and \u numeric escape sequences 2026-05-23 16:04:23 +02:00
renovate[bot] d771d5ab62 chore(deps): update rust crate bumpalo to v3.20.3 2026-05-23 07:13:25 +02:00
Guillem L. Jara ebf56167ff interpreter: hinted registers 2026-05-22 12:16:18 +02:00