Commit graph

128 commits

Author SHA1 Message Date
danyaberezun
ccd04c2159 add clang-format; reformat files 2023-05-31 11:01:11 +02:00
Egor Sheremetov
f20d351dd0 removed old (recursive) version of mark phase from the code 2023-05-31 01:08:03 +02:00
Egor Sheremetov
9107a26668 implemented non-recursive mark phase, added time measurement for stress tests 2023-05-31 01:06:53 +02:00
Egor Sheremetov
5da89d0c2e removed some unnecessary debug output, also modified tests to recently changed gc_runtime.s 2023-05-30 22:58:02 +02:00
Egor Sheremetov
4eea9a7933 Fixed bug in physically_relocate + bug fix in runtime.c list iteration 2023-05-23 13:40:46 +02:00
Egor Sheremetov
313997496d Added tests + fixed bunch of bugs in GC implementation 2023-04-26 14:22:14 +02:00
Egor Sheremetov
3826c8dd32 Added MREMAP_MAYMOVE flag to mremap to ensure similar to realloc behavior 2023-03-27 10:30:06 +02:00
Egor Sheremetov
113c57e7c8 First version of mark-compact GC, runtime.c is severely outdated at the moment 2023-03-27 10:09:54 +02:00
soarex
eb11bd1add Fix incorrect handling of mmap error 2023-01-09 02:47:24 +03:00
Dmitry Boulytchev
f47d872df1 Sync 2022-11-01 09:22:19 +03:00
kakadu
d17ceb3c53 Runtime: Initializate concatenation buffer by zeros
There was a bug about stringcat-ing of empty list,
where it would be filled by garbage. It seems to
happen becase stringBuf.contents are used without
proper check of length of the buffer. We defend from
that my initializing buffer by zeros (end of string)

Signed-off-by: kakadu <kakadu@pm.me>
2022-10-10 18:31:27 +03:00
Dmitry Boulytchev
d0cc8d0fa9 Fixed bug in makeArray 2022-02-14 01:13:14 +03:00
Dmitry Boulytchev
69c0b89e3c Switching off invalid hashconsing 2022-01-31 23:46:18 +03:00
Dmitry Boulytchev
f953814c76 Fixed bug in potential reuse of args in vsnprintf 2021-12-03 03:56:58 +03:00
Dmitry Boulytchev
9ff649e563 fexists added 2021-11-19 01:38:22 +03:00
Dmitry Boulytchev
eb098a6fac Merged PR from Lama 2021-10-31 15:34:34 +03:00
Dmitry Boulytchev
fa874b4a4c Byterun 2021-09-28 03:02:05 +03:00
Dmitry Boulytchev
9e5c562d60 Fixed stringcat 2021-08-13 09:50:07 +03:00
Dmitry Boulytchev
8359b674f8 Increated extra-roots yet again 2021-03-20 13:46:03 +03:00
Dmitry Boulytchev
f1384146cf Increased MAX_EXTRA_ROOTS 2021-03-14 07:08:07 +03:00
Kakadu
882ca93f89 Allow to specify C compiler when building runtime
Try something like `make -C runtime CC=clang-11 all`. It was tested only
on GNU/Linux

Signed-off-by: Kakadu <Kakadu@pm.me>
2021-02-14 18:54:44 +03:00
Dmitry Boulytchev
f1430a1cdf Length, string -> std functions 2021-01-31 22:57:12 +03:00
Dmitry Boulytchev
7eb3e223b8 Merging with origin 2021-01-25 01:38:59 +03:00
Dmitry Boulytchev
2b9adec087 Added assert 2021-01-25 01:22:56 +03:00
Kakadu
64d49ccd01 .gitignore files
Signed-off-by: Kakadu <Kakadu@pm.me>
2020-12-11 18:04:30 +03:00
Dmitry Boulytchev
66dc5c3063 Fix for https://github.com/JetBrains-Research/Lama/issues/16 2020-11-24 23:11:17 +03:00
Dmitry Boulytchev
6ed1b44439 Fixed bug with unbox tag in Bsexp 2020-09-01 20:31:34 +03:00
Dmitry Boulytchev
f16f695ed3 tagHash 2020-09-01 17:23:36 +03:00
Dmitry Boulytchev
ac853957ae Sexpr tags fixed 2020-08-25 16:09:43 +03:00
Dmitry Boulytchev
f08cd8396f Data/Random/Buffer, spec updated 2020-08-22 20:11:41 +03:00
Dmitry Boulytchev
94e4b16267 Updated spec 2020-08-10 20:55:10 +03:00
Dmitry Boulytchev
6f9d0850c7 Added test18 on cyclic equality 2020-08-07 21:40:51 +03:00
Dmitry Boulytchev
026158923f Stdlib:Data 2020-08-06 14:56:41 +03:00
Dmitry Boulytchev
f6d4a475b4 Better eq 2020-08-04 15:48:20 +03:00
Dmitry Boulytchev
c29ab4901f Cyclic equal (alpha) 2020-08-02 23:56:21 +03:00
Dmitry Boulytchev
9d0b8e811a Cosmetics; probably a fix for regexps 2020-05-04 02:45:34 +03:00
Dmitry Boulytchev
eeab48ed33 Moved x86only tests into stdlib/regression 2020-03-22 21:58:11 +03:00
Dmitry Boulytchev
e4b34a3ec1 Bugfix in runtime and documentation 2020-03-21 13:05:14 +03:00
Dmitry Boulytchev
c084e57b27 Sync 2020-03-15 12:41:31 +03:00
Dmitry Boulytchev
5db12d7629 Bugfix in collections, better Ostap, more Stdlib, bugfix in runtime 2020-03-13 19:41:14 +03:00
danyabeerzun
fcc00bd801 fix warnings 2020-02-27 18:11:35 +03:00
Dmitry Boulytchev
fe963a15d7 Fixed bug in LreadLine 2020-02-25 01:19:15 +03:00
Dmitry Boulytchev
21a52fd58f Better readLine 2020-02-25 00:58:17 +03:00
Dmitry Boulytchev
2c85715ae0 Fixed bugs in runtime; added stringInt 2020-02-23 01:36:30 +03:00
Dmitry Boulytchev
9140263a3f Sync 2020-02-19 16:29:29 +03:00
Dmitry Boulytchev
b0e5bc26e3 Added tutorial 2020-02-19 15:28:29 +03:00
Dmitry Boulytchev
f5f7f3ceb8 Eta-extension 2020-02-15 22:58:43 +03:00
Dmitry Boulytchev
cf78cd20e3 Opam/install 2020-02-13 18:56:27 +03:00
danyabeerzun
e8675153c2 fix Li__Infix_4343; also fixes stdlib/regression/test12 2020-02-07 20:10:16 +03:00
danyabeerzun
5e0db0a144 remove auto-generated file 2020-02-07 19:45:08 +03:00