Commit graph

66 commits

Author SHA1 Message Date
09ac16a42d
fix missing string-conversions 2026-09-07 17:41:04 +02:00
ff11d7e0ed
basic records support 2026-09-07 17:41:04 +02:00
19011e67da
add basic records 2026-09-07 17:41:02 +02:00
7879184d56
fix wasm and tests
All checks were successful
/ test (push) Successful in 51s
2026-07-15 21:46:14 +02:00
575fd8e37a
fix type-to-string conv. + fix binary type check + add modulo + rework import (now include)
Some checks failed
/ test (push) Failing after 41s
2026-07-13 23:34:19 +02:00
91baf28fdf
allow destructuring tuples when assigning 2026-07-13 22:06:20 +02:00
7cb2be8415
fix if result typing + fix indexing 2026-07-13 21:29:57 +02:00
0bc8b2ef55
basic for loop + examples -> era3 2026-07-13 10:06:08 +02:00
dd7af341a3
fix typing of if and lists 2026-07-12 11:39:22 +02:00
d54249cffe
add type aliases, rework compiler, remove optimization 2026-07-12 11:34:17 +02:00
94b12f28ab
add tuples tests 2026-07-11 12:51:39 +02:00
e03d18c7db
add basic support for tuples 2026-07-11 12:37:15 +02:00
f41ada6770
fix builtin signatures 2026-07-11 11:09:26 +02:00
5c336c7dec
shorten type names
All checks were successful
/ test (push) Successful in 47s
2026-07-11 10:52:39 +02:00
ddf92e1009
add general assert builtin 2026-07-11 10:52:32 +02:00
e2a1e5ff8d
allow escaping things inside strings 2026-07-11 10:52:20 +02:00
2c354c4a96
fix relative comparisons of float
All checks were successful
/ test (push) Successful in 49s
2026-07-11 10:18:32 +02:00
bc58da6d49
fix bounds + update libs 2026-07-11 10:13:49 +02:00
828ebb23c0
update + repl fixed + bugfixes 2026-07-10 21:15:28 +02:00
d315a53fbd
functions now capture variables :D 2026-07-09 23:25:28 +02:00
43e450c207
we in era3 boys; overhauled expression system, and variables are now in maps 2026-07-09 23:10:49 +02:00
bf29e6c3dd
allow enclosing type signatures in parenthesis 2026-07-08 19:45:36 +02:00
e48bda7e98
it felt very confusing to use write as println 2026-07-07 23:32:57 +02:00
daab50d54c
separate number into float and integer 2026-07-07 23:24:44 +02:00
beaa325c7b fix test, add string unit test, refactor stack
All checks were successful
/ test (push) Successful in 56s
2025-10-22 20:20:47 +02:00
b95d2954ba
make compiler errors general, and better imports
Some checks failed
/ test (push) Failing after 43s
2025-10-02 13:03:40 +02:00
f2ebcf560f
let write and print take any arg, cuz why not? 2025-10-02 13:02:23 +02:00
15705acbfc
update go 2025-10-01 10:44:09 +02:00
0d66db35aa
add check for always true, and pretty warnings 2025-09-30 16:02:18 +02:00
c8660a6471
add file trace to parser, refactor, fix inner type 2025-09-30 14:09:05 +02:00
80f4364f7e add single quote string 2025-09-16 20:01:38 +02:00
14d7a5ce73 add string at func, fix string split 2025-09-16 20:01:29 +02:00
16e756bd4e error message clarity 2025-09-16 20:00:43 +02:00
4a0c315ccb fix unary compilation and add tests 2025-09-16 19:59:58 +02:00
f53ab30dbe Merge branch 'types' into main
All checks were successful
/ test (push) Successful in 46s
2025-09-16 17:38:46 +00:00
9c91a1176a Update Go version to 1.24(.3), and make the root a go workspace. 2025-08-24 16:12:49 +02:00
efbe5a9f97
add inner (of lists) type, add floor, ceil, and roundd standard functions, and a ton of examples 2025-07-22 22:24:12 +02:00
5bcab07681
var type checking, fix importing, fix creating empty lists, repl command, dynamic stacks 2025-04-18 09:33:39 +02:00
f633a02c32
Add parser error messages 2025-04-04 10:10:39 +02:00
be7809d467
Fix parser edge-cases, fix wasm, refactor 2025-04-04 09:52:41 +02:00
c364e09fc9
fix imports 2025-03-31 10:58:13 +02:00
49c15f6fb6 not done yet 2025-03-30 10:42:28 +02:00
b73af5f92f
core: add compiler redeclaration check, tweak error formatting 2025-03-20 19:54:05 +01:00
3fb978638f
tweak parsing error 2025-03-20 13:06:41 +01:00
b1b8e61f57
improve errors, add warnings, add some compile-time optimizations, fix variables, make sure conditionals and loops get booleans, affirm types, keep variables to a single type 2025-03-20 12:15:13 +01:00
85b1631c84 Make type fields public 2025-03-18 20:32:44 +01:00
954308b29f
static type analysis, formatted compiler errors, hex support, composite types, updated cli, more global builtins, fix list form, fix value refs 2025-03-18 20:22:46 +01:00
84cc845748
Basic type system working 2025-03-16 22:46:49 +01:00
3f260e7ffd
Improve code quality 2025-03-16 21:16:12 +01:00
5edad332cd
Fix values 2025-03-16 21:03:17 +01:00