Commit graph

348 commits

Author SHA1 Message Date
Dmitry Boulytchev
b4ba38a0f7 Continue massaging Ostap 2020-01-30 23:36:15 +03:00
danyabeerzun
848fd31dc4 fix bug: register global_sysargs as extra root for GC; also fixes regression/x86only/test009 2020-01-29 17:34:26 +03:00
danyabeerzun
c8bc0bc8b1 cleanup 2020-01-29 16:32:13 +03:00
danyabeerzun
9441ff0a0d add extra_roots as a-la stack!?!?!? 2020-01-29 14:21:17 +03:00
Dmitry Boulytchev
fe2fdfac4b Removed extra files 2020-01-28 20:58:41 +03:00
Dmitry Boulytchev
3f5083746e Added missing files 2020-01-28 20:58:12 +03:00
danyabeerzun
9f896402bb add input file for test007 2020-01-28 18:06:36 +03:00
danyabeerzun
bb98d46e9a fix: regression test57 and all regression/test* test now pass 2020-01-28 18:06:09 +03:00
danyabeerzun
3c4be3737f fixes #15 : update: replace a with TO_DATA(p) 2020-01-28 16:27:36 +03:00
danyabeerzun
fc7fb7c3bb fixes #15 2020-01-28 16:24:26 +03:00
Dmitry Boulytchev
8a72ea6abc Extra-roots 2020-01-28 03:24:46 +03:00
Dmitry Boulytchev
dd3498e68f Merge branch 'fcf' of github.com:dboulytchev/compiler-workout-private into fcf 2020-01-28 03:02:13 +03:00
Dmitry Boulytchev
cfc9558de2 Implemented extra roots 2020-01-28 03:01:54 +03:00
Dmitry Boulytchev
39beebe875 Fixed bug in Language.ml 2020-01-27 22:08:16 +03:00
kverty
8f00033fa9 Language.ml new memoization errors fixed 2020-01-27 03:39:55 +03:00
Dmitry Boulytchev
d93995c444 Ostap expr combinator (no associativity, no attributes yet) 2020-01-27 00:36:07 +03:00
Dmitry Boulytchev
33ec55e76e Sysargs 2020-01-26 07:58:11 +03:00
Dmitry Boulytchev
c09a3b36b6 Initialization of separate units; fixed runtime 2020-01-26 06:06:14 +03:00
Dmitry Boulytchev
811c24d5a6 Parsing workaround 2020-01-24 22:30:49 +03:00
danyabeerzun
c0c18e3aa2 turn off debug print and restore default heap size 2020-01-24 17:06:49 +03:00
danyabeerzun
72480fc897 fix alloc to allocate size bytes instead of words and connected changes 2020-01-24 17:05:53 +03:00
danyabeerzun
3a673a59e2 fix allocated amount of memory for strings 2020-01-23 20:34:21 +03:00
danyabeerzun
dfa1380262 Fix GC bug: add swap spaces when extend; Fix debug info 2020-01-23 20:11:31 +03:00
Dmitry Boulytchev
ff197744f6 More Ostap tests 2020-01-22 22:30:34 +03:00
Dmitry Boulytchev
9163747ff3 More ostap 2020-01-21 22:03:11 +03:00
Dmitry Boulytchev
f1f3c8aff0 Memoized CPS parser combinators, monadic version 2020-01-20 07:41:43 +03:00
Dmitry Boulytchev
fb9f6f4509 Merged with runtime 2020-01-20 03:49:20 +03:00
Dmitry Boulytchev
1027d988fc More stdlib; memoized CPS parser combinators workout 2020-01-20 03:38:43 +03:00
danyaberezun
88336073af remove dead code and unnecessary comment 2020-01-16 17:46:09 +03:00
danyaberezun
b05ad7f6b1 fix issue #15 2020-01-16 16:38:00 +03:00
Dmitry Boulytchev
149984f5c0 Hash table 2020-01-16 06:59:34 +03:00
Dmitry Boulytchev
46dfd58bda Shallow clone (runtime function) 2020-01-15 22:33:46 +03:00
Dmitry Boulytchev
a453b65fd3 Shallow clone 2020-01-15 21:42:59 +03:00
Dmitry Boulytchev
c132073529 More collection; added list functions 2020-01-15 06:12:01 +03:00
Dmitry Boulytchev
5dcc3a97b0 More stdlib; fixed another bug in higher-order functions 2020-01-15 05:24:35 +03:00
Dmitry Boulytchev
2594f7a8dc Added SHELL in stdlib/Makefile 2020-01-14 19:14:12 +03:00
danyabeerzun
a995993997 new behaviour : if remap failed then try to allocate new memory area in another place and redo gc 2020-01-14 18:36:37 +03:00
danyabeerzun
3b5e44af20 fix clean option 2020-01-14 18:35:33 +03:00
danyabeerzun
164c475210 Merge branch 'fcf' of github.com:dboulytchev/compiler-workout-private into fcf 2020-01-14 17:10:20 +03:00
danyabeerzun
bfd67eea8f fix closure and sexp copiyng; fix sacn_custom_data; redo heap managing 2020-01-14 17:09:48 +03:00
danyabeerzun
b4f3c22704 fix closure and sexp copiyng; fix sacn_custom_data; redo heap managing 2020-01-14 17:09:43 +03:00
Dmitry Boulytchev
369f80f7e8 Fixed bug in gcc invocation; added stdlib tests 2020-01-14 17:08:35 +03:00
Dmitry Boulytchev
faca5c6e0e Better error reporting for infixes 2020-01-14 05:36:03 +03:00
Dmitry Boulytchev
a12f9337e9 Standard infix capturing 2020-01-14 05:15:19 +03:00
Dmitry Boulytchev
25ec856fba Better infixes 2020-01-14 03:30:17 +03:00
Dmitry Boulytchev
92f60665df Even better error reporting 2020-01-11 16:38:25 +03:00
Dmitry Boulytchev
b6180d8634 Better error reporting; synched with ostap 2020-01-05 22:54:09 +03:00
Dmitry Boulytchev
290c124be6 Removed unneeded returns from stdlib (yu-yu\!) 2020-01-05 03:46:19 +03:00
Dmitry Boulytchev
274bda6938 return fixed for real, tests added 2020-01-05 03:33:17 +03:00
Dmitry Boulytchev
644c1b3086 Fixed return (seems to be; no regression yet) 2020-01-05 01:26:13 +03:00