Commit graph

29 commits

Author SHA1 Message Date
0f905a7fea
Add set index in list, and update lib+examples+tests 2026-08-20 13:54:36 +02:00
8d12c0bdf8 fix missing string-conversions
All checks were successful
/ test (push) Successful in 49s
2026-08-17 17:15:34 +02:00
42fa039daf basic records support
All checks were successful
/ test (push) Successful in 50s
2026-08-17 17:08:24 +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
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
d54249cffe
add type aliases, rework compiler, remove optimization 2026-07-12 11:34:17 +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
ddf92e1009
add general assert builtin 2026-07-11 10:52:32 +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
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
f2ebcf560f
let write and print take any arg, cuz why not? 2025-10-02 13:02:23 +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
49c15f6fb6 not done yet 2025-03-30 10:42:28 +02: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
5edad332cd
Fix values 2025-03-16 21:03:17 +01:00
634a4a2b61
Add importing, lists and objects, and add basic functions (global and on values) 2025-03-10 16:23:16 +01:00
2e48fbde28
Fix And and Or instructions behaviour 2025-01-03 22:35:40 +01:00
4b803100ef
Fix resuming scope after returning from a called function 2024-12-29 21:07:44 +01:00
cedad9d472
Allow for functions to be called after a variable is pushed to the stack 2024-12-29 18:23:10 +01:00
62656c6dff
separate core from cli into submodules, add support for boolean and and or operations, make more fields public, fix passing arguments to functions 2024-12-13 11:33:47 +01:00
Renamed from vm.go (Browse further)