Commit 94e05f48 authored by André Pacak's avatar André Pacak

Experiment with recursion detection in type lang

parent 1ca4ba2d
......@@ -401,5 +401,9 @@
</node>
</node>
</node>
<node concept="1M2fIO" id="6G$bWLksoXm">
<property role="3GE5qa" value="judgment" />
<ref role="1M2myG" to="b83y:2_58u12eCWR" resolve="JudgmentInstance1" />
</node>
</model>
......@@ -585,5 +585,15 @@
<ref role="PrY4T" node="2_58u12fwJB" resolve="JudgmentInstance" />
</node>
</node>
<node concept="1TIwiD" id="6G$bWLkspQH">
<property role="EcuMT" value="7720348215856438701" />
<property role="TrG5h" value="SortUserMode" />
<property role="3GE5qa" value="judgment" />
<property role="34LRSv" value="user" />
<ref role="1TJDcQ" to="tpck:gw2VY9q" resolve="BaseConcept" />
<node concept="PrWs8" id="6G$bWLkspQI" role="PzmwI">
<ref role="PrY4T" node="2_58u12cYDn" resolve="SortMode" />
</node>
</node>
</model>
......@@ -5,7 +5,92 @@
<use id="7a5dda62-9140-4668-ab76-d5ed1746f2b2" name="jetbrains.mps.lang.typesystem" version="1" />
<devkit ref="00000000-0000-4000-0000-1de82b3a4936(jetbrains.mps.devkit.aspect.typesystem)" />
</languages>
<imports />
<registry />
<imports>
<import index="pgas" ref="r:c75f6d0a-e344-4076-8a9a-431398544fab(TypeLang.behavior)" implicit="true" />
<import index="b83y" ref="r:63340c72-1a1f-4a8d-acb4-c73b4c9c590a(TypeLang.structure)" implicit="true" />
</imports>
<registry>
<language id="f3061a53-9226-4cc5-a443-f952ceaf5816" name="jetbrains.mps.baseLanguage">
<concept id="1197027756228" name="jetbrains.mps.baseLanguage.structure.DotExpression" flags="nn" index="2OqwBi">
<child id="1197027771414" name="operand" index="2Oq$k0" />
<child id="1197027833540" name="operation" index="2OqNvi" />
</concept>
<concept id="1070475926800" name="jetbrains.mps.baseLanguage.structure.StringLiteral" flags="nn" index="Xl_RD">
<property id="1070475926801" name="value" index="Xl_RC" />
</concept>
<concept id="1068580123159" name="jetbrains.mps.baseLanguage.structure.IfStatement" flags="nn" index="3clFbJ">
<child id="1068580123160" name="condition" index="3clFbw" />
<child id="1068580123161" name="ifTrue" index="3clFbx" />
</concept>
<concept id="1068580123136" name="jetbrains.mps.baseLanguage.structure.StatementList" flags="sn" stub="5293379017992965193" index="3clFbS">
<child id="1068581517665" name="statement" index="3cqZAp" />
</concept>
<concept id="1204053956946" name="jetbrains.mps.baseLanguage.structure.IMethodCall" flags="ng" index="1ndlxa">
<reference id="1068499141037" name="baseMethodDeclaration" index="37wK5l" />
</concept>
</language>
<language id="7a5dda62-9140-4668-ab76-d5ed1746f2b2" name="jetbrains.mps.lang.typesystem">
<concept id="1207055528241" name="jetbrains.mps.lang.typesystem.structure.WarningStatement" flags="nn" index="a7r0C">
<child id="1207055552304" name="warningText" index="a7wSD" />
</concept>
<concept id="1227096774658" name="jetbrains.mps.lang.typesystem.structure.MessageStatement" flags="ng" index="2OEH$v">
<child id="1227096802790" name="nodeToReport" index="2OEOjV" />
</concept>
<concept id="1195213580585" name="jetbrains.mps.lang.typesystem.structure.AbstractCheckingRule" flags="ig" index="18hYwZ">
<child id="1195213635060" name="body" index="18ibNy" />
</concept>
<concept id="1195214364922" name="jetbrains.mps.lang.typesystem.structure.NonTypesystemRule" flags="ig" index="18kY7G" />
<concept id="1174642788531" name="jetbrains.mps.lang.typesystem.structure.ConceptReference" flags="ig" index="1YaCAy">
<reference id="1174642800329" name="concept" index="1YaFvo" />
</concept>
<concept id="1174648085619" name="jetbrains.mps.lang.typesystem.structure.AbstractRule" flags="ng" index="1YuPPy">
<child id="1174648101952" name="applicableNode" index="1YuTPh" />
</concept>
<concept id="1174650418652" name="jetbrains.mps.lang.typesystem.structure.ApplicableNodeReference" flags="nn" index="1YBJjd">
<reference id="1174650432090" name="applicableNode" index="1YBMHb" />
</concept>
</language>
<language id="7866978e-a0f0-4cc7-81bc-4d213d9375e1" name="jetbrains.mps.lang.smodel">
<concept id="1179409122411" name="jetbrains.mps.lang.smodel.structure.Node_ConceptMethodCall" flags="nn" index="2qgKlT" />
</language>
<language id="ceab5195-25ea-4f22-9b92-103b95ca8c0c" name="jetbrains.mps.lang.core">
<concept id="1133920641626" name="jetbrains.mps.lang.core.structure.BaseConcept" flags="ng" index="2VYdi">
<property id="1193676396447" name="virtualPackage" index="3GE5qa" />
</concept>
<concept id="1169194658468" name="jetbrains.mps.lang.core.structure.INamedConcept" flags="ng" index="TrEIO">
<property id="1169194664001" name="name" index="TrG5h" />
</concept>
</language>
</registry>
<node concept="18kY7G" id="6G$bWLkvmoM">
<property role="TrG5h" value="check_Sort" />
<property role="3GE5qa" value="judgment" />
<node concept="3clFbS" id="6G$bWLkvmoN" role="18ibNy">
<node concept="3clFbJ" id="6G$bWLkvmoT" role="3cqZAp">
<node concept="2OqwBi" id="6G$bWLkvmyA" role="3clFbw">
<node concept="1YBJjd" id="6G$bWLkvmpb" role="2Oq$k0">
<ref role="1YBMHb" node="6G$bWLkvmoP" resolve="sort" />
</node>
<node concept="2qgKlT" id="6G$bWLkvmZ1" role="2OqNvi">
<ref role="37wK5l" to="pgas:6G$bWLkuTK6" resolve="isRecursiveInput" />
</node>
</node>
<node concept="3clFbS" id="6G$bWLkvmoV" role="3clFbx">
<node concept="a7r0C" id="6G$bWLkvn4f" role="3cqZAp">
<node concept="Xl_RD" id="6G$bWLkvn59" role="a7wSD">
<property role="Xl_RC" value="recursive input" />
</node>
<node concept="1YBJjd" id="6G$bWLkvn4B" role="2OEOjV">
<ref role="1YBMHb" node="6G$bWLkvmoP" resolve="sort" />
</node>
</node>
</node>
</node>
</node>
<node concept="1YaCAy" id="6G$bWLkvmoP" role="1YuTPh">
<property role="TrG5h" value="sort" />
<ref role="1YaFvo" to="b83y:2_58u12cYwo" resolve="Sort" />
</node>
</node>
</model>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment