Commit graph

485 commits

Author SHA1 Message Date
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
kverty
c46fc45802 Good old compiler-workout 2019-09-10 01:03:23 +03:00
kverty
686e3ff9d7 Merge branch 'post-historic' of https://github.com/dboulytchev/compiler-workout-private into post-historic 2019-09-10 00:49:43 +03:00
kverty
93c2f6db2d Mistake in new Infix located 2019-09-10 00:46:10 +03:00
danyaberezun
4daa918a4f
Merge pull request #9 from XJIE6/post-historic
close #8
2019-08-27 14:10:32 +03:00
IntelliJ User
e52241d2ce one more fix to #8 2019-08-26 15:51:12 +03:00
IntelliJ User
d023b44db3 close #8 2019-08-23 16:10:56 +03:00
danyaberezun
4f0dbf3399
Merge pull request #6 from XJIE6/post-historic
test for issue #3, closes #3
2019-08-22 12:16:18 +03:00
IntelliJ User
25e1f55ecd test for issue #3 2019-08-22 12:06:46 +03:00
Dmitry Boulytchev
0ca2ae1600
Merge pull request #5 from XJIE6/post-historic
Compiled program segfault bugfix
2019-08-22 00:26:42 +02:00
IntelliJ User
99f6357ccd Compiled program segfault bugfix 2019-08-21 18:47:25 +03:00
Dmitry Boulytchev
a24866cc6f
Merge pull request #2 from kverty/post-historic
Infix moved to Ostap; atribute added in module Expr
2019-08-14 02:11:18 -07:00