Commit graph

67 commits

Author SHA1 Message Date
f53ab30dbe Merge branch 'types' into main
All checks were successful
/ test (push) Successful in 46s
2025-09-16 17:38:46 +00:00
85c4829918
Merge branch 'main' of https://git.neemek.com/neemek/anglais
All checks were successful
/ test (push) Successful in 47s
2025-08-29 18:49:02 +02:00
67c9fe7ea6 fix "Test Core" step
All checks were successful
/ test (push) Successful in 1m15s
2025-08-24 17:00:40 +02:00
678fab7b0e Specify test workflow image correctlier
Some checks failed
/ test (push) Failing after 1m4s
2025-08-24 16:54:15 +02:00
1401f7cdd4 Specify test workflow image correctly
Some checks failed
/ test (push) Failing after 45s
2025-08-24 16:51:10 +02:00
c9f85a1c20 Specify test workflow image
Some checks failed
/ test (push) Failing after 2s
2025-08-24 16:49:44 +02:00
8941d82390 Add test workflow
Some checks failed
/ test (push) Failing after 1m35s
Signed-off-by: Neemek <sindodeg@gmail.com>
2025-08-24 16:31:36 +02:00
c9eba7ada0 Add test workflow
Some checks are pending
/ test (push) Waiting to run
2025-08-24 16:16:14 +02:00
9c91a1176a Update Go version to 1.24(.3), and make the root a go workspace. 2025-08-24 16:12:49 +02:00
7c63e43fd9
Add MIT license 2025-07-22 22:28:25 +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
18d64656a2
wasm: fix error reporting 2025-03-20 19:46:58 +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
e34b423967 Update WASM functions 2025-03-20 07:34:33 +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
ae7d6c5359
Add in-lang scope test 2025-03-10 16:33:04 +01:00
e8d8731922
Add tests in the language 2025-03-10 16:24:56 +01:00
74bd9c9582
Update and add examples 2025-03-10 16:24:37 +01:00
40a538b73d
Add test for func 2025-03-10 16:24:07 +01:00
634a4a2b61
Add importing, lists and objects, and add basic functions (global and on values) 2025-03-10 16:23:16 +01:00
449f7cd815
Increase pi-approx.ang example accuracy 2025-01-03 23:16:03 +01:00
8d9138479d
Reduce automated stack benchmarks 2025-01-03 22:55:57 +01:00
7eb0e1b1fd
cli: Fix compiling, tweak debug flag 2025-01-03 22:55:05 +01:00
69e6fab41b
Add grapher example 2025-01-03 22:37:28 +01:00
28a05a0ebc
Uncomment recursive example 2025-01-03 22:36:15 +01:00
4a9801df5a
Fix wasm output 2025-01-03 22:35:55 +01:00
2e48fbde28
Fix And and Or instructions behaviour 2025-01-03 22:35:40 +01:00
c170f0c0c6
Allow else-if statements 2025-01-03 22:35:13 +01:00
0ab370b8e4
Allow else-if statements 2025-01-03 22:35:05 +01:00
2c548c83aa
Update go.sum 2024-12-29 21:07:50 +01:00
4b803100ef
Fix resuming scope after returning from a called function 2024-12-29 21:07:44 +01:00
ce72ea6c47
Fix parsing multiple arguments 2024-12-29 21:07:23 +01:00
0e914e197b
Add exponentiation and logarithms to the math lib/example 2024-12-29 21:06:02 +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
cf8268a4d7
Add pi approximation as an example 2024-12-29 14:51:54 +01:00
6b90cc488e
Make parser send error upwards instead of panicing 2024-12-29 14:49:31 +01:00
402644d219
Treat source as runes to allow for unicode characters (e.g. greek, japanese) 2024-12-28 17:16:56 +01:00
74bf43d387
Create tokens from runes to allow unicode characters (e.g. greek, chinese) 2024-12-28 17:04:30 +01:00
e1f438edbe
Fix parser formatting missing newline 2024-12-28 17:03:59 +01:00