Commit Graph

60 Commits

Author SHA1 Message Date
JanUlrich
c62a0e5dae Unify, only call step 2 once. substitute beforehand 2022-03-22 22:56:46 +01:00
Andreas Stadelmeier
faef14cf05 Fix 2022-03-17 02:54:32 +01:00
Andreas Stadelmeier
e884ff9516 Merge branch 'master' of ssh://gohorb.ba-horb.de/bahome/staff/stan/git/FJTypeinference 2022-03-17 02:52:26 +01:00
Andreas Stadelmeier
ef75c83ef6 Merge branch 'transfer' 2022-03-17 02:52:15 +01:00
Andreas Stadelmeier
3cb0973a71 Change type insert to non-filtered method 2022-03-17 02:52:05 +01:00
JanUlrich
573e91b6a3 Add Sigma method 2022-03-16 18:40:09 +01:00
Andreas Stadelmeier
6c8fe68d8e Use full optimized JS 2022-03-11 12:54:03 +01:00
Anonymous Authors
29296c2d34 Use full optimized JS 2022-03-11 12:53:25 +01:00
Andreas Stadelmeier
607405920d Filter a <. b constraints at end of Unify. Create T <. Object constraints in TYPEMethod for ret and param types 2022-03-10 22:49:01 +01:00
Andreas Stadelmeier
16dbfbc957 apply sigma method 2022-03-10 19:10:14 +01:00
JanUlrich
be7ccf8265 Unfinished backup 2022-03-10 14:24:17 +01:00
JanUlrich
b5083ba46a Add Cast. Add ParserExpr and convert it to Expr after parsing 2022-03-09 14:24:11 +01:00
JanUlrich
39c5a0527d Remove keywords, add this Parser Tests 2022-03-07 14:59:17 +01:00
JanUlrich
fc8460ea29 Cleanup, Fix Parser Tests 2022-03-07 13:45:59 +01:00
Andreas Stadelmeier
1df207c8c5 Fix Filter overloaded methods 2021-12-13 05:55:37 +01:00
Andreas Stadelmeier
9c4072aa81 Remove compiled file 2021-12-13 01:38:21 +01:00
JanUlrich
51c9f217c0 Filter methods 2021-12-13 01:32:54 +01:00
JanUlrich
bb3a3ef430 Fix type insert error 2021-12-12 10:47:01 +01:00
JanUlrich
341875c843 Fix insertTypes 2021-12-11 23:21:08 +01:00
JanUlrich
04abdd7ad4 Add FJNamedType and conversion methods. Add method filtering. Result has errors 2021-12-11 06:18:36 +01:00
JanUlrich
c23713ad01 Add FJType 2021-12-10 06:41:10 +01:00
JanUlrich
27bd663b1b add FJNamedType trait. Not Runnable! 2021-12-09 19:51:38 +01:00
JanUlrich
0c79b40f2f Fix type insert error 2021-12-07 16:30:13 +01:00
Andreas Stadelmeier
d03231fd95 Adding the possibility of type annotations to input 2021-12-06 20:14:05 +01:00
Andreas Stadelmeier
a8c5131de3 Start optional type annotations for methods. Currently not working 2021-12-03 02:09:10 +01:00
Andreas Stadelmeier
92ef0f4991 FC transitive types added 2021-12-03 01:13:49 +01:00
JanUlrich
0467bec4b3 Merge branch 'master' of ssh://gohorb.ba-horb.de/bahome/staff/stan/git/FJTypeinference 2021-12-02 22:49:40 +01:00
JanUlrich
5bc55324e1 add test 2021-12-02 22:49:18 +01:00
Andreas Stadelmeier
061340de90
Create README.md 2021-12-02 03:04:00 +01:00
Andreas Stadelmeier
cc9dd29775 add compiled js for github pages 2021-12-02 02:54:06 +01:00
Andreas Stadelmeier
21d77dd026 Start principal method filtering 2021-12-02 02:49:39 +01:00
JanUlrich
477c60f841 Calculate all possible solutions. Working state! 2021-12-01 16:58:27 +01:00
JanUlrich
7392a865d3 Fix substStep 2021-12-01 11:49:47 +01:00
JanUlrich
5ef6d9abb9 Fix type insert 2021-12-01 11:34:16 +01:00
Andreas Stadelmeier
60a22967f9 Inser types still wrong 2021-11-30 22:29:26 +01:00
Andreas Stadelmeier
7cb3300e8a Backup. Not working state 2021-11-30 03:47:07 +01:00
Andreas Stadelmeier
6fd34fe523 Add hint to index.html 2021-11-23 01:10:38 +01:00
JanUlrich
fb7593cf3b Insert minimal set of generics. correctly output AST 2021-11-22 19:10:20 +01:00
Andreas Stadelmeier
39c9adb794 Output typed classes. Filter constraints before inserting them as method generics 2021-11-17 06:39:26 +01:00
Andreas Stadelmeier
0c59de6f63 Use highlight.js 2021-11-16 17:11:24 +01:00
Andreas Stadelmeier
cff305e0db Only insert relevant constraints for each method. Remove a <. b constraints 2021-11-16 14:38:15 +01:00
Andreas Stadelmeier
1b2d6bd172 Step 2 uses CartesianProduct class. Only first possible solution is selected 2021-11-16 07:39:47 +01:00
Andreas Stadelmeier
2d718f3ef9 Subst step tries as many substitutions as possible 2021-11-16 01:17:36 +01:00
Andreas Stadelmeier
8f807c6482 unify iterative 2021-11-15 00:27:59 +01:00
JanUlrich
f659ff1536 Only compile one class at a time 2021-11-11 23:36:43 +01:00
JanUlrich
e8bc91756a Replace generics in constraint lists. this has no generic types 2021-11-10 13:50:42 +01:00
Andreas Stadelmeier
6fcfeaa00e Filter for solved constraint sets 2021-11-10 02:25:02 +01:00
JanUlrich
d777b45166 constructor type fix 2021-11-09 14:48:06 +01:00
Andreas Stadelmeier
cc029a5376 TYPE for constructor 2021-11-08 19:03:56 +01:00
Andreas Stadelmeier
d474747dad Insert Unify Result as intersection type. Not working. Constructors not implemented 2021-11-05 17:48:19 +01:00