Commit Graph

49 Commits

Author SHA1 Message Date
IgorCielniak
fd030be086 added a snake game example and fixed a small bug in the compiler 2026-03-14 12:44:34 +01:00
IgorCielniak
fd115f31dc small update to linux.sl and the syscall instruction, including some small optimizations 2026-03-13 19:42:15 +01:00
igor
ecf90feab9 general update, updated cimport so it parses struct definitions from imported headers, improved the error reporting, added ifdef and ifndef, added proper support for extern variadic functions, added some new sections and pages to the doc tool and added --check to only check the program corectness and run compile time defs without producing a binary 2026-03-11 21:27:48 +01:00
igor
0ac7f26a18 added async and hashmap lib to the stdlib as well as tests for them, improved the performance of the compiler, improved the buildt in doc tool and fixed some other small issues 2026-03-11 14:41:40 +01:00
igor
c5cdd5a7fd added the option to customize _start 2026-02-25 16:58:31 +01:00
igor
c4b15e0666 implemented quick sort, ported the repl to run on the ct vm and added some more optimizations 2026-02-20 15:03:49 +01:00
igor
97f3df3836 update to the doc tool and to arr.sl 2026-02-19 16:14:41 +01:00
igor
2b311c7be7 update to the sorting functions and small fix to the compiler it self 2026-02-19 10:42:53 +01:00
igor
f3de51f5d8 update 2026-02-18 16:05:48 +01:00
igor
6c34602ead extended the test for dynamic arrays 2026-02-18 12:22:16 +01:00
igor
8bb292f49b added function pointers 2026-02-18 10:59:37 +01:00
igor
28bc0e3842 changed the macro args to start from 0 2026-02-18 09:45:13 +01:00
IgorCielniak
adfc941538 added formating functions 2026-02-17 12:59:34 +01:00
igor
81ee4a8ff9 refactored the testing system, fixed fput and removed arr_asm.sl 2026-02-16 14:32:13 +01:00
IgorCielniak
a3c68860a7 added get_addr and jmp 2026-02-12 17:39:05 +01:00
IgorCielniak
2d06358e24 made tests run on arm with qemu-x86_64 2026-02-04 09:55:07 +01:00
IgorCielniak
ac4c55cb8e some additions to core and test for them 2026-02-03 18:43:04 +01:00
IgorCielniak
2b78ca671c rule110 2026-02-03 09:03:44 +01:00
IgorCielniak
5ea020100e implemented realloc as well as a bunch of fixes and some small changes like changing the order of arguments for !, making alloc drop etc. 2026-02-02 15:51:58 +01:00
IgorCielniak
dfc88c20eb small update 2026-01-31 22:18:41 +01:00
IgorCielniak
ff6af0b783 update to structs 2026-01-21 14:26:30 +01:00
IgorCielniak
6ea160b388 update to the C FFI 2026-01-13 18:41:05 +01:00
IgorCielniak
a195e2b7cf added elif 2026-01-12 19:51:52 +01:00
IgorCielniak
47a45c050e quite a few fixes, overall repo cleanup and some restructurization in the stdlib 2026-01-12 19:03:49 +01:00
IgorCielniak
fc67639aa5 fixed a small bug in tests/alloc.sl 2026-01-12 08:42:54 +01:00
IgorCielniak
8139aa66d9 make 'inline' come before 'word' instead of after the function definition 2026-01-10 22:19:55 +01:00
IgorCielniak
88ee10face added an alternate way to use the 'write' syscall that doesn't require any libraries at all 2026-01-09 15:51:04 +01:00
IgorCielniak
95f6c1dac5 small improvement for error reporting 2026-01-09 12:29:08 +01:00
IgorCielniak
c3490a37ae added compile time intrinsics that allow for modification of the prelude and bss section 2026-01-09 12:22:00 +01:00
IgorCielniak
0acf5555a8 added goto 2026-01-09 11:10:18 +01:00
IgorCielniak
8466664637 added inline functions 2026-01-09 11:01:24 +01:00
IgorCielniak
d62f2fe02d introduced direct ability to call syscalls and linux.sl 2026-01-08 20:56:36 +01:00
IgorCielniak
2f60555d22 moved hello.sl to tests 2026-01-08 19:12:55 +01:00
IgorCielniak
f7b08afdcb implemented 'here' 2026-01-08 19:04:29 +01:00
IgorCielniak
39ed504d88 added ewrite_buf and eputs 2026-01-08 18:44:48 +01:00
IgorCielniak
e7abc47cdf ststic arrays and dynamic arrays 2026-01-08 18:34:34 +01:00
IgorCielniak
1727bab944 added variables 2026-01-08 16:05:43 +01:00
IgorCielniak
b9098d9893 changed the way that functions are defined 2026-01-08 15:28:10 +01:00
IgorCielniak
d4dc6ceef5 small refactor and cleanup 2026-01-08 13:15:27 +01:00
IgorCielniak
c3fc9cf831 unified the block endings 2026-01-03 09:04:50 +00: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
IgorCielniak
452bb0318b added io 2025-12-18 20:18:39 +01:00
IgorCielniak
50451840b7 write_file 2025-12-18 11:32:35 +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