Commit Graph

41 Commits

Author SHA1 Message Date
165b5844de remove type hints from declarations 2026-07-17 16:14:08 +02:00
45171f688c more fuzzing, recursion, prevent including block devices, utf8 fix 2026-07-17 14:21:29 +02:00
1471c229c2 generic types, any -> opaque 2026-07-17 11:44:05 +02:00
aea9ce911a std json parser 2026-07-05 15:22:50 +02:00
bc4e09805b split std 2026-07-01 14:43:39 +02:00
131db6a453 fix bugs found by the fuzzer 2026-07-01 10:49:38 +02:00
43a20c99f6 remove enums 2026-06-26 17:38:55 +02:00
3f3f161151 VERY hacky f64 printing 2026-06-26 09:34:18 +02:00
e4582ec85a float literals 2026-06-24 18:06:58 +02:00
213e3d4b37 floats 2026-06-24 17:20:57 +02:00
7259f13191 simple enums 2026-06-08 19:46:29 +02:00
2864548daf finally allow bare returns 2026-06-07 13:10:36 +02:00
a727a52ffb ptr.free 2026-06-06 23:55:02 +02:00
3098d0abf9 uniform function call syntax 2026-06-06 22:29:25 +02:00
535364931e parse negative constants 2026-06-06 09:26:34 +02:00
0b16cc4513 destructuring multiple returns 2026-05-28 16:55:16 +02:00
eb14607f2a allow returning a second value via rdx 2026-05-28 09:41:11 +02:00
fa5ff0aaa5 turn Assign into a statement 2026-05-28 08:49:18 +02:00
45253bf004 stack allocated structs, print ips in net examples 2026-05-27 20:34:26 +02:00
4fda79f0bc new var declaration syntax 2026-05-27 20:25:58 +02:00
027245684d type inference for variables 2026-05-13 14:01:44 +02:00
5f2082ef57 attach id to expressions 2026-05-13 13:14:55 +02:00
52443c837b --no-stdlib 2026-04-11 23:59:15 +02:00
a17ffa184a _var_arg 2026-04-04 13:14:58 +02:00
bb42e1fcf7 parse variadic functions 2026-04-04 12:17:44 +02:00
86de997be3 hashmaps, enforce main function type 2026-03-20 19:27:51 +01:00
efe9dfe238 parse cli on our own 2026-03-19 13:42:12 +01:00
8758295641 Analyzer -> SymbolTable 2026-03-19 13:18:24 +01:00
e24763dfb6 gut analyzer by moving the arity check to the typechecker 2026-03-19 13:16:34 +01:00
625fc0d811 typecheck_expr doesnt need to mutate the TypeChecker 2026-03-18 19:08:10 +01:00
0dbe7560b6 refactor the nasty RefCell by parsing everything first 2026-03-18 18:53:13 +01:00
e774f06e65 validate types in New/Struct/Cast 2026-03-18 11:47:29 +01:00
2137d49abd typecheck if and while conditions, disallow ptr multiplication 2026-03-18 11:34:25 +01:00
3efb3820bc fix a bug that caused stuff to not get typechecked 2026-03-17 17:34:49 +01:00
4154901339 typecheck return types 2026-03-17 17:11:14 +01:00
664a51c88d add casts to examples 2026-03-17 16:34:20 +01:00
15a68a41d1 use FnType instead of the tuple mess 2026-03-17 16:27:39 +01:00
a3f480dc1d typecheck function calls 2026-03-17 16:10:28 +01:00
5846f7e730 casts, typecheck struct field access 2026-03-17 15:25:28 +01:00
13fa93c611 start implementing typechecking 2026-03-17 14:55:07 +01:00
69c254382d TypeChecker 2026-03-17 14:04:14 +01:00