Commit graph

56 commits

Author SHA1 Message Date
ProgramSnail
13ea4c7968 compiler.cpp build fix, fixes 2025-06-06 19:14:33 +03:00
ProgramSnail
26d2eaa8b3 basic compiler integration (with errors, without check) 2025-06-01 17:47:35 +03:00
ProgramSnail
7c3ff04573 sm_parser: fixes, tested on Functions.sm 2025-06-01 16:51:56 +03:00
ProgramSnail
66ccf639c8 fixes, command for sm parser, basic sm printer 2025-05-24 17:53:32 +03:00
ProgramSnail
6c19722d9e xmake initial build, uint -> uint32_t (stdlib test 03 fails with xmake, possible due to newer c and c++ versions) 2025-05-24 17:24:19 +03:00
ProgramSnail
a7f2377124 sm parser: instuction builder 2025-05-18 14:32:42 +03:00
ProgramSnail
956dde00a3 byterun gc integration fix: move __gc_stack_top by 1 2025-05-18 12:02:34 +03:00
ProgramSnail
b1ab8ee4b3 some refactorings, analyzer global var publics fix, include publics into merged bytefile 2025-05-11 12:34:13 +03:00
ProgramSnail
aff30ad7c1 global vars implementation, todo gc problems 2025-05-11 11:02:07 +03:00
ProgramSnail
d8eb21c066 tests (except exceptions and ostap additional logs print) are passed 2025-04-12 21:00:20 +03:00
ProgramSnail
4d7afdeae0 fixes to run stdlib tests and tutorial tests. No unexpected exits on these tests (without output checkings). + remove som e leftovers from stdlib closure coding + bug fixes 2025-04-12 17:09:02 +03:00
ProgramSnail
3834897b78 fixes, more stdlib functions (& stdlib binops), printf and etc. temporally disabled 2025-04-07 00:46:02 +03:00
ProgramSnail
43088ec9f9 stdlib tester, fixes, switch to builtins as pseudo functions (use call), remove negative closure offset possibility 2025-04-06 22:29:00 +03:00
ProgramSnail
905632aab6 regression tests output check & fixes 2025-03-16 14:26:48 +03:00
ProgramSnail
616ffd7a5c fixes, -O3 2025-03-16 11:03:16 +03:00
ProgramSnail
2e59845cec Bsexp impl without additional buffer, s_rotate fix 2025-03-09 16:33:56 +03:00
ProgramSnail
044b0ccae0 use switch for std functions (instead of array, for better performance (?)) 2025-03-03 01:15:07 +03:00
ProgramSnail
25322bd3d7 new module system fixes, fine result on regression tests (same to before mod) 2025-03-03 00:13:19 +03:00
ProgramSnail
58c9fd77c2 fix interpreter and analyzer with new algorithm (with bugs) 2025-03-02 15:05:09 +03:00
ProgramSnail
343a21ee2d file parser, file merge, callf command remove, SM fixes. todo: fix interpreter and analyzer with new algorithm 2025-02-23 15:10:22 +03:00
ProgramSnail
51381aea43 sm_parser impl beginning 2025-02-17 19:36:17 +03:00
ProgramSnail
1b26d0eaae memoy management fixes 2025-01-21 19:17:10 +03:00
ProgramSnail
58f0bfc0b9 interpreter: migration to universial stdlib support (without varargs yet) 2025-01-20 23:13:42 +03:00
ProgramSnail
72ec1923e3 fixes + dependency test 2025-01-12 20:17:24 +03:00
ProgramSnail
19c99bc7e5 modules: fixes to working condition 2025-01-11 23:52:44 +03:00
ProgramSnail
eb1ddfa447 modules: 'rebase' from byterun_with_modules, initial impl, without verification 2025-01-08 23:52:39 +03:00
ProgramSnail
73d3fbc388 interpreter fixes 2024-12-17 04:15:25 +03:00
ProgramSnail
d90a8cf89f fixes, cleanup, some copies removed 2024-12-15 16:19:54 +03:00
ProgramSnail
2589f6166f fixes, ifdefs for different byterun versions 2024-12-15 03:33:46 +03:00
ProgramSnail
014f249b16 part of analyzer, interpreter closure processing fix 2024-12-15 00:54:48 +03:00
ProgramSnail
4c34a63bb7 byterun build with analyzer 2024-12-13 13:32:50 +03:00
ProgramSnail
b52a7fcb29 index checks fix 2024-11-14 14:14:33 +03:00
ProgramSnail
b198e11416 oprs fix 2024-11-14 14:02:36 +03:00
ProgramSnail
eb6267defe fixes, less allocations 2024-11-14 02:10:24 +03:00
ProgramSnail
1548c16eeb fixes, some cleanup 2024-11-14 00:59:36 +03:00
ProgramSnail
e456304eb3 runtime fixes, byterun fixes 2024-11-14 00:50:54 +03:00
ProgramSnail
233fa95e14 fixes 2024-11-12 21:08:41 +03:00
ProgramSnail
1df2624c25 gloal state 2024-11-12 02:38:26 +03:00
ProgramSnail
f5c7843942 buffer fixes 2024-11-12 02:12:28 +03:00
ProgramSnail
959c06cc65 remove debug options, remove od makefile, inline most op functions 2024-11-12 01:56:09 +03:00
ProgramSnail
963e286f49 better failure reporting 2024-11-12 00:10:02 +03:00
ProgramSnail
34675f0cb7 fixes, performance check 2024-11-09 23:32:09 +03:00
ProgramSnail
0ba3c33af5 cleanup, add actual argc argv 2024-11-07 19:31:25 +03:00
ProgramSnail
e9c4d48cf9 closure fix 2024-11-07 00:56:21 +03:00
ProgramSnail
bd27e79b22 basically initial impl of all except sti. sexp with params not working, some bugs in closure impl 2024-11-06 02:28:46 +03:00
ProgramSnail
1e38ffaefb fixes, some checks, made working on part of simple tests (functions, arrays, operations, read, write, loops) 2024-11-04 01:43:43 +03:00
ProgramSnail
da050c082c build fixes 2024-11-03 12:52:25 +03:00
ProgramSnail
e17f1f70ed part of operations, migration to 1.30 2024-11-02 01:19:54 +03:00
ProgramSnail
2c03654cca TMP changes 2024-11-01 23:39:55 +03:00
ProgramSnail
39715334c7 types fix, frame fix to work with runtime 2024-11-01 23:39:55 +03:00