Commit Graph

50 Commits

Author SHA1 Message Date
hl-valdemar 98f3a04daf feat: lower typed programs and interpret IR 2026-10-22 22:20:50 +02:00
hl-valdemar bc318a29ad fix: infer float context from division 2026-10-22 11:53:04 +02:00
hl-valdemar bbf39c16c5 feat: type-check expressions and function calls 2026-10-09 22:35:25 +02:00
hl-valdemar cb3f187b54 style: use snake_case for constants 2026-10-08 22:28:27 +02:00
hl-valdemar 57e544f255 docs: backtick parameter references in API comments 2026-10-08 20:53:34 +02:00
hl-valdemar 8352cc1ab0 style: align multiline expressions and guards 2026-10-08 20:48:20 +02:00
hl-valdemar 2648991d04 refactor: apply project style guidelines 2026-10-05 20:46:18 +02:00
hl-valdemar d88513e005 feat: add typed mem.set 2026-10-05 20:17:21 +02:00
hl-valdemar 9b273f2471 feat: resolve names without shadowing 2026-10-05 20:17:21 +02:00
hl-valdemar 50a10bb404 feat: parse function calls 2026-10-05 18:15:55 +02:00
hl-valdemar 21e459eb96 refactor: rename lexer files to scan 2026-10-02 00:26:41 +02:00
hl-valdemar 5e51c90aca feat: parse grouped expressions 2026-10-02 00:26:41 +02:00
hl-valdemar 64762a45fa refactor: simplify standard library organization 2026-09-20 00:41:22 +02:00
hl-valdemar 438f660e76 refactor: clarify diagnostics and adopt ptrcast inference 2026-09-20 00:03:03 +02:00
hl-valdemar 8bb539359b refactor: render semantic syntax trees 2026-09-19 22:26:24 +02:00
hl-valdemar d42b72f729 feat: recover parser errors into invalid syntax nodes 2026-09-19 22:26:24 +02:00
hl-valdemar 93c238470f refactor: encapsulate compact syntax tree storage 2026-09-19 22:26:24 +02:00
hl-valdemar e9c82a39aa feat: add shared source diagnostics 2026-09-19 22:26:24 +02:00
hl-valdemar cfd668b729 parse func decls 2026-08-16 00:50:11 +02:00
hl-valdemar 518037e7b7 cleanup on isle 4 2026-08-12 22:52:04 +02:00
hl-valdemar 753609f916 improve ast printing 2026-08-12 22:49:18 +02:00
hl-valdemar 7fa761d3f0 add parser test for unary prefix expressions 2026-08-12 22:21:15 +02:00
hl-valdemar 8fbf137c6d parse unary prefix and postfix expressions 2026-08-12 22:18:55 +02:00
hl-valdemar a384949ddf hide parser utility functions 2026-08-11 22:42:28 +02:00
hl-valdemar 101795c0b8 cleanup (isle 6 again?) 2026-08-11 22:14:21 +02:00
hl-valdemar 8dd06afde2 parse arithmetic binary expressions 2026-08-11 21:24:00 +02:00
hl-valdemar 891dc6516e align with new @hide syntax 2026-08-10 23:20:52 +02:00
hl-valdemar 8de7ec341e cleanup on isle 6 2026-08-09 23:35:55 +02:00
hl-valdemar 6293c93c3c basic ast renderer 2026-08-09 23:26:41 +02:00
hl-valdemar 425ce38011 lexer refactor 2026-08-08 22:56:04 +02:00
hl-valdemar 410246faee migrate to new mutable decl syntax 2026-08-05 22:09:21 +02:00
hl-valdemar 1689c4db3c lexer touchups 2026-08-05 22:07:55 +02:00
hl-valdemar a2ccf60eb1 move ast definitions into its own package 2026-08-03 08:40:15 +02:00
hl-valdemar 939043dd8b refactor parse decl impl 2026-08-02 22:52:55 +02:00
hl-valdemar 469415a5b4 general decl parsing 2026-08-02 22:32:17 +02:00
hl-valdemar a0ba0865ff remove outdated todo 2026-08-02 21:17:09 +02:00
hl-valdemar d693711a59 minor cleanup 2026-08-02 20:59:10 +02:00
hl-valdemar 90c7195d4b parse const decls 2026-08-02 20:51:39 +02:00
hl-valdemar c7f527e3c3 minor refactoring 2026-07-25 00:24:16 +02:00
hl-valdemar ad54a00893 refactor and func -> proc rename 2026-07-25 00:03:54 +02:00
hl-valdemar 0338e35e75 checkpoint 2026-07-23 10:56:53 +02:00
hl-valdemar a4e6f96951 static string map 2026-07-23 09:42:00 +02:00
hl-valdemar 596183b9a0 string pool 2026-07-22 02:42:25 +02:00
hl-valdemar c1225f4ac2 stdlib enum map 2026-07-20 15:51:32 +02:00
hl-valdemar 709d977436 simple hashmap implementation 2026-07-19 02:09:43 +02:00
hl-valdemar c541496db5 move some stuff around 2026-07-18 19:55:25 +02:00
hl-valdemar 3e8db2c15e refactor a bit 2026-07-15 22:48:29 +02:00
hl-valdemar 73da0d95c4 replace _ with hide and _token_kind_str with rich debug.print rich formatting 2026-07-15 21:19:14 +02:00
hl-valdemar 6d024e6a0c streamline scan(-) 2026-07-13 23:56:19 +02:00
hl-valdemar 0b93cd1c90 toy lexer 2026-07-13 23:48:08 +02:00