From 9c832b73b32c5f9e4f1e34640527717a49a307cd Mon Sep 17 00:00:00 2001 From: Fedor Isakov Date: Thu, 22 Mar 2018 16:52:17 +0100 Subject: [PATCH] Testing RuleTemplate with constraint rules in a sandbox. --- .mps/modules.xml | 1 + .../models/structure.mps | 61 ++++- .../models/types.mps | 242 ++++++++++++++++++ ...ains.mps.typechecking.testlang.sandbox.msd | 28 ++ .../models/test.mps | 28 ++ 5 files changed, 358 insertions(+), 2 deletions(-) create mode 100644 typechecking/solutions/jetbrains.mps.typechecking.testlang.sandbox/jetbrains.mps.typechecking.testlang.sandbox.msd create mode 100644 typechecking/solutions/jetbrains.mps.typechecking.testlang.sandbox/models/test.mps diff --git a/.mps/modules.xml b/.mps/modules.xml index 0fc7c468..0de28061 100644 --- a/.mps/modules.xml +++ b/.mps/modules.xml @@ -14,6 +14,7 @@ + diff --git a/typechecking/languages/jetbrains.mps.typechecking.testlang/models/structure.mps b/typechecking/languages/jetbrains.mps.typechecking.testlang/models/structure.mps index b02da773..a9c2723f 100644 --- a/typechecking/languages/jetbrains.mps.typechecking.testlang/models/structure.mps +++ b/typechecking/languages/jetbrains.mps.typechecking.testlang/models/structure.mps @@ -5,7 +5,64 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/typechecking/languages/jetbrains.mps.typechecking.testlang/models/types.mps b/typechecking/languages/jetbrains.mps.typechecking.testlang/models/types.mps index 9d8eff48..100fa0a1 100644 --- a/typechecking/languages/jetbrains.mps.typechecking.testlang/models/types.mps +++ b/typechecking/languages/jetbrains.mps.typechecking.testlang/models/types.mps @@ -9,6 +9,7 @@ + @@ -29,6 +30,7 @@ + @@ -71,6 +73,11 @@ + + + + + @@ -78,6 +85,7 @@ + @@ -86,6 +94,12 @@ + + + + + + @@ -109,19 +123,37 @@ + + + + + + + + + + + + + + + + + + @@ -138,6 +170,10 @@ + + + + @@ -159,9 +195,14 @@ + + + + + @@ -172,6 +213,14 @@ + + + + + + + + @@ -380,5 +429,198 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/typechecking/solutions/jetbrains.mps.typechecking.testlang.sandbox/jetbrains.mps.typechecking.testlang.sandbox.msd b/typechecking/solutions/jetbrains.mps.typechecking.testlang.sandbox/jetbrains.mps.typechecking.testlang.sandbox.msd new file mode 100644 index 00000000..fccf7913 --- /dev/null +++ b/typechecking/solutions/jetbrains.mps.typechecking.testlang.sandbox/jetbrains.mps.typechecking.testlang.sandbox.msd @@ -0,0 +1,28 @@ + + + + + + + + + + 3a1f0f04-b5e0-43be-884e-b856bfdeca21(jetbrains.mps.typechecking.testlang) + + + + + + + + + + + + + + + + + + diff --git a/typechecking/solutions/jetbrains.mps.typechecking.testlang.sandbox/models/test.mps b/typechecking/solutions/jetbrains.mps.typechecking.testlang.sandbox/models/test.mps new file mode 100644 index 00000000..c0bd6a31 --- /dev/null +++ b/typechecking/solutions/jetbrains.mps.typechecking.testlang.sandbox/models/test.mps @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +