Commit graph

126 commits

Author SHA1 Message Date
Danya Berezun
17a7aa0116 fix warnings 2023-09-04 21:44:26 +02:00
Egor Sheremetov
89536c67e0 Included lama compilation in root's make regression target 2023-09-04 13:25:12 +02:00
Egor Sheremetov
52ef663986 Fixed bug for version without extra word for sexp 2023-08-28 11:19:02 +02:00
Egor Sheremetov
c61159cfc6 Different PRE_GC and POST_GC attempt, floating 0 bug is present again 2023-08-14 09:40:56 +02:00
Egor Sheremetov
3937ecf387 Removed extra word in sexp 2023-08-09 20:16:51 +02:00
Egor Sheremetov
99ce39ca28 Debug output is now hidden when DEBUG_VERSION compilation option is off, added LAMA_ENV compilation option to control whether global area scan is needed 2023-07-28 16:37:39 +02:00
Egor Sheremetov
ffa0b69841 Added checks that stack-frame didn't move 2023-07-24 10:01:35 +02:00
danyaberezun
ce0b369958 fix: do not fix extra root if it points to lama stack; uncomment extra roots registration; rise error if binary operation is done over pointers 2023-07-03 17:58:55 +02:00
Danya Berezun
8bc173762d fix 2023-06-29 20:05:54 +02:00
Egor Sheremetov
31551e73fd Added check of invariance of objects' topology before and after compaction 2023-06-20 16:22:35 +02:00
danyaberezun
ccd04c2159 add clang-format; reformat files 2023-05-31 11:01:11 +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
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
Dmitry Boulytchev
f1430a1cdf Length, string -> std functions 2021-01-31 22:57:12 +03:00
Dmitry Boulytchev
2b9adec087 Added assert 2021-01-25 01:22:56 +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
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