Commit graph

115 commits

Author SHA1 Message Date
ProgramSnail
b51a03a393 generated cmake lists 2025-06-09 17:10:56 +03:00
ProgramSnail
d7bd4366e7 use xmake for tests, xmake -O3 2025-06-09 17:08:41 +03:00
ProgramSnail
9e0ae43291 use xmake for tests 2025-06-09 17:00:19 +03:00
ProgramSnail
5c30116de3 sm printer enchantments, compiler fixes (one test passed, no file prefix & impords asm generation yet) 2025-06-09 16:18:01 +03:00
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
c348af161c sm_parsers: instr parser 2025-05-24 15:00:06 +03:00
ProgramSnail
9563485f8f sm_parsers: remove parsers _auto suffix 2025-05-24 13:38:27 +03:00
ProgramSnail
3636e05103 sm_parsers: value parsers (probably) done, auto detect parsing segment end 2025-05-24 13:37:34 +03:00
ProgramSnail
a75d213c89 sm_parsers: parsers by fixed string fragments without pair and array parsers (todo: rewrite to fragments autodetect) 2025-05-18 17:11: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
c5dfe649e0 sm parser impl start 2025-05-11 14:31:22 +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
1f42c9ff4b some refactorings 2025-05-11 11:06:15 +03:00
ProgramSnail
aff30ad7c1 global vars implementation, todo gc problems 2025-05-11 11:02:07 +03:00
ProgramSnail
474b0a8ed2 SM fixes, add fixes to vork with sysargs Std variable 2025-04-12 22:19:28 +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
467eeb0eef tutorial check test, test scripts refactoring 2025-04-07 01:11:26 +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
67d1a3c135 Merge branch '1.30' into byterun_dev_1.30 2025-03-16 11:23:26 +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
032d249ed4 Barray impl without additional buffer 2025-03-03 13:15:21 +03:00
ProgramSnail
044b0ccae0 use switch for std functions (instead of array, for better performance (?)) 2025-03-03 01:15:07 +03:00
ProgramSnail
f50e1fe7c5 stdfunc call optimization (map -> array), performance check exec fix 2025-03-03 00:24:08 +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
a8a68b4148 update gitignore: do not include tests 2025-03-02 15:19:37 +03:00
ProgramSnail
90015eac8b rm tests extra info 2025-03-02 15:19:09 +03:00
ProgramSnail
58c9fd77c2 fix interpreter and analyzer with new algorithm (with bugs) 2025-03-02 15:05:09 +03:00
Kakadu
46f5e43cee Fixup
Signed-off-by: Kakadu <Kakadu@pm.me>
2025-02-28 00:17:43 +03:00
Kakadu
ba9c32f38a Fixup
Signed-off-by: Kakadu <Kakadu@pm.me>
2025-02-28 00:00:54 +03:00
Kakadu
0aba2a2a01 Trying to detect mac right
Signed-off-by: Kakadu <Kakadu@pm.me>
2025-02-27 23:55:37 +03:00
Kakadu
fa030b8bd3 Forgotten depdenecy
Signed-off-by: Kakadu <Kakadu@pm.me>
2025-02-27 23:42:19 +03:00
Kakadu
259b52bb83 Add mac-specific flags to compile byterun on Darwin
Signed-off-by: Kakadu <Kakadu@pm.me>
2025-02-27 23:35:42 +03:00
Danya Berezun
5814b3f90a lapce fix 2025-02-27 20:59:10 +01:00
Kakadu
c9cd55d173 Use malloc from <stdlib.h>
Signed-off-by: Kakadu <Kakadu@pm.me>
2025-02-27 22:52:02 +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
8709cb22fd varargs usage implementation for stdlib, warning fixes 2025-01-24 13:07:04 +03:00
ProgramSnail
b5564c6731 compiler: make SymbolicStack to be struct 2025-01-23 22:48:38 +03:00
ProgramSnail
6d774ad42f wall, wextra, compiler: fix warnings & todos 2025-01-23 15:26:54 +03:00
ProgramSnail
c811d5ec50 compiler: BEGIN command compilation 2025-01-23 14:55:54 +03:00
ProgramSnail
74efa60218 compiler: END command compilation 2025-01-23 02:09:16 +03:00