Commit graph

329 commits

Author SHA1 Message Date
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
Dmitry Boulytchev
8658f1343b Better error reporting 2020-01-04 22:28:57 +03:00
Dmitry Boulytchev
6322ee6bed Assertions in runtime 2020-01-04 21:50:14 +03:00
Dmitry Boulytchev
27c091129a Better chars 2020-01-03 01:38:49 +03:00
Dmitry Boulytchev
cf2b696803 Synched with ostap 2019-12-31 00:59:28 +03:00
Dmitry Boulytchev
49250b0216 Fixed an ugly bug in FCF support. Now for real? 2019-12-29 02:12:50 +03:00
Dmitry Boulytchev
39437712c7 Not yet, but almost 2019-12-29 01:12:40 +03:00
Dmitry Boulytchev
02dee40262 Rolled back 2019-12-28 01:59:04 +03:00
Dmitry Boulytchev
d475fe390d Rolled back 2019-12-28 01:47:26 +03:00
Dmitry Boulytchev
c854bc1e34 Obsolete and unneeded 2019-12-28 01:37:59 +03:00
Dmitry Boulytchev
f4467ec540 Fixed bug in parser; perhaps we need to scrap Ostap and go back to Yacc 2019-12-26 20:02:30 +03:00
Dmitry Boulytchev
59a7d48568 Stdlib: initial version 2019-12-26 00:17:34 +03:00
Dmitry Boulytchev
ad920df098 Merge branch 'fcf' of github.com:dboulytchev/compiler-workout-private into fcf 2019-12-25 20:42:34 +03:00
Dmitry Boulytchev
86a69f5e1a Fixed parser 2019-12-25 20:42:28 +03:00
danyabeerzun
f5526507a1 fix sections; remove __gc_start and __gc_end labels 2019-12-25 20:29:53 +03:00
Dmitry Boulytchev
711c8d2f12 Match failure implemented 2019-12-24 03:59:05 +03:00
Dmitry Boulytchev
de2955cbc9 Fixed ugly bug in nested function support 2019-12-23 21:05:57 +03:00
Dmitry Boulytchev
3f0e1c4b15 true/false added 2019-12-23 18:40:48 +03:00
Dmitry Boulytchev
5258b95712 Better dot notation 2019-12-21 18:04:39 +03:00
Dmitry Boulytchev
b6daf3910f More in the runtime 2019-12-21 02:34:56 +03:00