Commit graph

91 commits

Author SHA1 Message Date
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
ProgramSnail
44d50c4c8e compiler: Env register_string 2025-01-22 23:26:10 +03:00
ProgramSnail
28f4dc191b compiler: some Env parts 2025-01-22 22:35:01 +03:00
ProgramSnail
02e22ff99b compiler: compile_call 2025-01-22 19:44:26 +03:00
ProgramSnail
1b26d0eaae memoy management fixes 2025-01-21 19:17:10 +03:00
ProgramSnail
b6b843fb44 interpreter: recursive module fix, more tests 2025-01-21 00:57:38 +03:00
ProgramSnail
58f0bfc0b9 interpreter: migration to universial stdlib support (without varargs yet) 2025-01-20 23:13:42 +03:00
ProgramSnail
318ebc72aa interpreter: basic stdlib function call mechanism 2025-01-20 01:12:18 +03:00
ProgramSnail
3aeb625142 compiler: sm basic instructions compilation, fixes 2025-01-19 20:57:29 +03:00
ProgramSnail
446e52a60a compiler: sm instructions (tmp, later should be replaced witd bytecode) 2025-01-19 12:47:05 +03:00
ProgramSnail
c1b4d9c780 part of env, compile_binop, fixes 2025-01-18 16:03:31 +03:00
ProgramSnail
384102e7f0 symbolic stack & abstract symbolic stack 2025-01-18 02:08:25 +03:00
ProgramSnail
1e3ea44310 opnd to str + instr to code 2025-01-14 02:24:35 +03:00
ProgramSnail
5d43100c5a compiler part 2025-01-13 02:17:20 +03:00
ProgramSnail
c8bec67bb9 script to run dep tests 2025-01-12 21:40:22 +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
b25d441287 fixes 2024-12-16 10:50:09 +03:00
ProgramSnail
b85b694d78 fix magic constant 2024-12-15 16:24:59 +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
c373b7ef82 fixes 2024-12-15 01:32:49 +03:00
ProgramSnail
014f249b16 part of analyzer, interpreter closure processing fix 2024-12-15 00:54:48 +03:00