Commit Graph

142 Commits

Author SHA1 Message Date
IgorCielniak
c3fc9cf831 unified the block endings 2026-01-03 09:04:50 +00:00
IgorCielniak
c696898436 alternative version of fibonacii numbers 2025-12-31 15:01:33 +00:00
IgorCielniak
b186ae2826 implemented TODO for proper depth tracking for py blocks 2025-12-30 11:09:40 +00:00
IgorCielniak
2319785702 added a todo 2025-12-30 10:30:59 +00:00
IgorCielniak
1376c7bbc5 small fix 2025-12-29 14:19:49 +00:00
IgorCielniak
acbd6f57da made the linking step prefer ld.lld if avaliable else fall back to ld 2025-12-29 13:35:26 +00:00
root
d4b8ce6012 removed p! and p@ and added 'mem' that just pushes the addr os the persistent memory on to the stack and than you can write/read using standard ! and @ nd write at an offset uaing pointer arithmetic 2025-12-28 11:46:01 +01:00
IgorCielniak
ecb41d572a small fix in munmap 2025-12-26 21:44:13 +01:00
IgorCielniak
357434991e added a buffer of 64 bytes for some easily accesible persistent storage accesable via p@ and p! 2025-12-26 15:50:37 +01:00
IgorCielniak
7d6c1fb0d3 added argv and argc interaction 2025-12-25 22:37:04 +01:00
IgorCielniak
f76ef276e9 created stdlib/debug.sl and moved int3 there as well as an improved version of debug thats now called dump 2025-12-25 21:30:11 +01:00
IgorCielniak
ff72bc8207 fixed the while and begin..again loops conflicting 2025-12-25 20:02:28 +01:00
IgorCielniak
e2b1368899 added neg and bitnot to the stdlib and made a fib.sl example 2025-12-25 12:20:11 +01:00
IgorCielniak
2b8cd25499 unhardcoded alloc size in strconcat so the buffer doesn't overflow 2025-12-25 10:59:21 +01:00
IgorCielniak
60ec54e58c added while 2025-12-25 10:31:40 +01:00
IgorCielniak
6988a89a51 added strconcat and strcpy functions 2025-12-24 23:19:08 +01:00
IgorCielniak
8bab3485a8 simple implementation of alloc and free testes with structs 2025-12-24 17:46:04 +01:00
IgorCielniak
ca43cea785 corected the implementation of strcmp and put it in to a separate function 2025-12-24 12:41:20 +01:00
IgorCielniak
770d795872 strcmp example 2025-12-23 23:38:22 +01:00
IgorCielniak
8419f36283 brought back the working version of mmp 2025-12-23 23:27:17 +01:00
IgorCielniak
852c55a768 small update 2025-12-21 13:41:34 +01:00
IgorCielniak
bfbbebf034 general update 2025-12-20 23:20:53 +01:00
IgorCielniak
3157f22c9b extern outline 2025-12-20 22:34:27 +01:00
IgorCielniak
002b36f89c updates to io.sl 2025-12-19 20:23:26 +01:00
igor
8b5ccf4edc commit 2025-12-19 15:48:42 +01:00
igor
21855212e5 added --debug to compile with debug info 2025-12-19 15:27:09 +01:00
igor
72cb28157b fix for reading stdin 2025-12-19 11:32:12 +01:00
IgorCielniak
452bb0318b added io 2025-12-18 20:18:39 +01:00
IgorCielniak
f684e56a70 removed useless strlen from stdlib.sl 2025-12-18 12:03:49 +01:00
IgorCielniak
50451840b7 write_file 2025-12-18 11:32:35 +01:00
IgorCielniak
6efd7c4e19 unhardcode 'puts' kinda 2025-12-14 18:44:24 +01:00
IgorCielniak
1dd1ba377b added support for raw l2 statementrs inside 'fn' decls 2025-12-14 17:02:09 +01:00
IgorCielniak
566a438242 small fix in fn.sl 2025-12-14 16:41:00 +01:00
IgorCielniak
08cb47b560 kinda working fn 2025-12-14 16:34:02 +01:00
IgorCielniak
6574222280 commit 2025-12-14 00:38:19 +01:00
IgorCielniak
6910e05be6 made puts wor for strings as well an some other changes 2025-12-12 17:41:24 +01:00
IgorCielniak
96366a98a8 added run time strings 2025-12-11 20:25:34 +01:00
IgorCielniak
a33ae22573 commit 2025-12-11 20:07:10 +01:00
IgorCielniak
2ea49d26f7 commit 2025-12-08 18:14:52 +01:00
IgorCielniak
3a63347380 added macros, control flow, structs and comparison operands 2025-12-06 18:30:29 +01:00
IgorCielniak
643a4960c2 mem helpers and # comment support 2025-12-06 17:24:30 +01:00
IgorCielniak
8e8faf3c91 Initial commit 2025-12-06 16:30:58 +01:00