Commit graph

546 commits

Author SHA1 Message Date
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
Dmitry Boulytchev
6181173cb8 Generic compare 2019-12-20 00:23:35 +03:00
Dmitry Boulytchev
a9946113c9 Fixed bug in infix imports 2019-12-18 18:44:01 +03:00
Dmitry Boulytchev
455a529999 Dumps implemented 2019-12-12 17:42:45 +03:00
Dmitry Boulytchev
1d9aeefd16 Infix import 2019-11-29 23:56:03 +03:00
Dmitry Boulytchev
cf5d0f1bc7 Imports (no infixes yet; does not work because of the GC duplicate symbols) 2019-11-27 03:14:25 +03:00
Dmitry Boulytchev
5f673e766c public extern is added 2019-11-25 15:26:00 +03:00
Dmitry Boulytchev
1a849e7a56 External/public, better options 2019-11-24 02:30:32 +03:00
Dmitry Boulytchev
5a883d8fa9 Spec initial commit 2019-11-19 16:53:30 +03:00
Dmitry Boulytchev
d89cd76cd9 Added pattern-matching in lectures 2019-11-19 03:24:17 +03:00
Dmitry Boulytchev
dad4c35a80 Fixed bug with mutable closures in interpret (not really --- up to closure recursion) 2019-10-17 15:30:50 +03:00
Dmitry Boulytchev
1d28f4af6b FCF + GC 2019-10-16 22:01:57 +03:00
Dmitry Boulytchev
d99588a6db FCF (alpha) 2019-10-16 21:07:27 +03:00
Dmitry Boulytchev
aa1d88e303 FCF in X86 (no closure access yet) 2019-10-16 01:13:52 +03:00
Dmitry Boulytchev
763f5fe486 x86 up to closures 2019-10-15 01:54:57 +03:00
Dmitry Boulytchev
e529ba1472 Added static call 2019-10-14 19:44:33 +03:00
Dmitry Boulytchev
2bfebc93f8 FSF in SM 2019-10-13 05:29:06 +03:00
Dmitry Boulytchev
77473d10c5 FSF in SM: better function scopes 2019-10-13 04:57:41 +03:00
Dmitry Boulytchev
4fec2aa29e FSF in SM (only obe-level closure yet) 2019-10-11 17:25:58 +03:00
Dmitry Boulytchev
89e0d04f3d SM (no closures yet); some ugly hacks yet to fix 2019-10-05 00:16:50 +03:00
Dmitry Boulytchev
36685d1592 Generalized state 2019-09-29 02:47:07 +03:00
Dmitry Boulytchev
c3e6d4c76d Starting to develop FCF in SM 2019-09-29 02:35:04 +03:00
Dmitry Boulytchev
ee1d5c08ec Ready to switch to stack machine 2019-09-25 16:38:14 +03:00
Dmitry Boulytchev
fa73744c36 Added missing test 2019-09-25 00:26:11 +03:00
Dmitry Boulytchev
efea4901ef Closure-pattern, infix references (interpretataion only) 2019-09-25 00:25:40 +03:00
Dmitry Boulytchev
c92555f7a8 Closures (in interpretation) 2019-09-24 01:12:04 +03:00
Dmitry Boulytchev
39388d77fd Added tests; weird & ugly workaround in the parser 2019-09-22 22:25:05 +03:00
Dmitry Boulytchev
d69cb3d49d Functions as values (no closures yet, and no tests) 2019-09-22 20:15:15 +03:00
Dmitry Boulytchev
f5b802ebed Global definitions; regression tests fixed 2019-09-19 18:37:08 +03:00
Dmitry Boulytchev
a3b12425fd Added a smoke test for local scopes 2019-09-19 16:57:41 +03:00
Dmitry Boulytchev
5527013a7f Regression tests in interpretation only 2019-09-19 15:52:20 +03:00
Dmitry Boulytchev
1cfd3123be Initial commit of fcf 2019-09-19 00:15:02 +03:00
kverty
d130d197b3 Atributes added again. Regression tests fixed 2019-09-10 15:54:37 +03:00
Dmitry Boulytchev
a2d7448b57
Merge pull request #13 from kverty/functioning
Functioning compiler
2019-09-10 02:12:55 +03:00