Permalink
Browse files

Initial commit

  • Loading branch information...
vaclav committed Jun 30, 2011
0 parents commit e733ae98859502782b516dc6ab79d31ef73e80b6
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="DependencyValidationManager">
+ <option name="SKIP_IMPORT_STATEMENTS" value="false" />
+ </component>
+ <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
+ <component name="MPSProject">
+ <projectModules>
+ <modulePath path="${project}/languages/Calculator/Calculator.mpl" />
+ <modulePath path="${project}/solutions/Calculator.sandbox/Calculator.sandbox.msd" />
+ </projectModules>
+ <genConfs />
+ </component>
+ <component name="ProjectModuleManager">
+ <modules />
+ </component>
+ <component name="ProjectRootManager" version="2" />
+ <component name="VcsDirectoryMappings">
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
+ </component>
+</project>
+
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<language namespace="Calculator" uuid="21560302-1e32-4533-bc15-78171e32e68f" compileInMPS="true" doNotGenerateAdapters="false">
+ <models>
+ <modelRoot path="${language_descriptor}/languageModels" namespacePrefix="Calculator" />
+ </models>
+ <accessoryModels />
+ <generators>
+ <generator name="" generatorUID="Calculator#2339873612002101983" uuid="03b4634d-bfd5-43fa-98ab-96b480f81776">
+ <models>
+ <modelRoot path="${language_descriptor}/generator/template" namespacePrefix="Calculator.generator.template" />
+ </models>
+ <external-templates />
+ <usedDevKits>
+ <usedDevKit>fbc25dd2-5da4-483a-8b19-70928e1b62d7(jetbrains.mps.devkit.general-purpose)</usedDevKit>
+ </usedDevKits>
+ <mapping-priorities />
+ </generator>
+ </generators>
+ <usedDevKits>
+ <usedDevKit>2677cb18-f558-4e33-bc38-a5139cee06dc(jetbrains.mps.devkit.language-design)</usedDevKit>
+ </usedDevKits>
+ <extendedLanguages>
+ <extendedLanguage>f3061a53-9226-4cc5-a443-f952ceaf5816(jetbrains.mps.baseLanguage)</extendedLanguage>
+ </extendedLanguages>
+</language>
+

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<model modelUID="r:6cce2c40-1fca-4b78-95d2-6de588d4c7ad(Calculator.Gen@generator)">
+ <persistence version="4" />
+ <refactoringHistory />
+ <language namespace="21560302-1e32-4533-bc15-78171e32e68f(Calculator)" />
+ <devkit namespace="fbc25dd2-5da4-483a-8b19-70928e1b62d7(jetbrains.mps.devkit.general-purpose)" />
+ <maxImportIndex value="1" />
+ <import index="1" modelUID="r:a97c2fcd-b950-4f67-90d2-868c73f6be51(Calculator.structure)" version="0" />
+</model>
+
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<model modelUID="r:8db27b82-a96a-4e00-97fc-941f15f6f424(Calculator.constraints)">
+ <persistence version="4" />
+ <refactoringHistory />
+ <language namespace="21560302-1e32-4533-bc15-78171e32e68f(Calculator)" />
+ <language namespace="3f4bc5f5-c6c1-4a28-8b10-c83066ffa4a1(jetbrains.mps.lang.constraints)" />
+ <languageAspect modelUID="r:00000000-0000-4000-0000-011c8959030d(jetbrains.mps.lang.constraints.structure)" version="8" />
+ <languageAspect modelUID="r:00000000-0000-4000-0000-011c895902ca(jetbrains.mps.baseLanguage.structure)" version="3" />
+ <languageAspect modelUID="r:00000000-0000-4000-0000-011c89590301(jetbrains.mps.lang.smodel.structure)" version="16" />
+ <languageAspect modelUID="r:00000000-0000-4000-0000-011c89590288(jetbrains.mps.lang.core.structure)" version="0" />
+ <devkit namespace="fbc25dd2-5da4-483a-8b19-70928e1b62d7(jetbrains.mps.devkit.general-purpose)" />
+ <maxImportIndex value="1" />
+ <import index="1" modelUID="r:a97c2fcd-b950-4f67-90d2-868c73f6be51(Calculator.structure)" version="0" />
+ <node type="jetbrains.mps.lang.constraints.structure.ConceptConstraints:8" id="2339873612002239832">
+ <link role="concept:8" targetNodeId="1.2339873612002093005:0" resolveInfo="InputFieldReference" />
+ <node role="referent:8" type="jetbrains.mps.lang.constraints.structure.NodeReferentConstraint:8" id="2339873612002239833">
+ <link role="applicableLink:8" targetNodeId="1.2339873612002093006:0" />
+ <node role="searchScopeFactory:8" type="jetbrains.mps.lang.constraints.structure.ConstraintFunction_ReferentSearchScope_Factory:8" id="2339873612002239834">
+ <node role="body:8" type="jetbrains.mps.baseLanguage.structure.StatementList:3" id="2339873612002239835">
+ <node role="statement:3" type="jetbrains.mps.baseLanguage.structure.LocalVariableDeclarationStatement:3" id="2339873612002239847">
+ <node role="localVariableDeclaration:3" type="jetbrains.mps.baseLanguage.structure.LocalVariableDeclaration:3" id="2339873612002239848">
+ <property name="name:3" value="node" />
+ <node role="type:3" type="jetbrains.mps.lang.smodel.structure.SNodeType:16" id="2339873612002239849">
+ <link role="concept:16" targetNodeId="1.3058888773154280113:0" resolveInfo="Calculator" />
+ </node>
+ <node role="initializer:3" type="jetbrains.mps.baseLanguage.structure.DotExpression:3" id="2339873612002239850">
+ <node role="operand:3" type="jetbrains.mps.lang.constraints.structure.ConceptParameter_ReferentSearchScope_enclosingNode:8" id="2339873612002239851" />
+ <node role="operation:3" type="jetbrains.mps.lang.smodel.structure.Node_GetAncestorOperation:16" id="2339873612002239852">
+ <node role="parameter:16" type="jetbrains.mps.lang.smodel.structure.OperationParm_Concept:16" id="2339873612002239853">
+ <node role="conceptArgument:16" type="jetbrains.mps.lang.smodel.structure.RefConcept_Reference:16" id="2339873612002239854">
+ <link role="conceptDeclaration:16" targetNodeId="1.3058888773154280113:0" resolveInfo="Calculator" />
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ <node role="statement:3" type="jetbrains.mps.baseLanguage.structure.ReturnStatement:3" id="2339873612002239856">
+ <node role="expression:3" type="jetbrains.mps.baseLanguage.structure.DotExpression:3" id="2339873612002239859">
+ <node role="operand:3" type="jetbrains.mps.baseLanguage.structure.LocalVariableReference:3" id="2339873612002239858">
+ <link role="variableDeclaration:3" targetNodeId="2339873612002239848" resolveInfo="node" />
+ </node>
+ <node role="operation:3" type="jetbrains.mps.lang.smodel.structure.SLinkListAccess:16" id="2339873612002239863">
+ <link role="link:16" targetNodeId="1.2339873612002082831:0" />
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+</model>
+
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<model modelUID="r:b3c24ade-afd4-4262-90a3-95743af1cbd6(Calculator.editor)">
+ <persistence version="4" />
+ <refactoringHistory />
+ <language namespace="21560302-1e32-4533-bc15-78171e32e68f(Calculator)" />
+ <language namespace="18bc6592-03a6-4e29-a83a-7ff23bde13ba(jetbrains.mps.lang.editor)" />
+ <languageAspect modelUID="r:00000000-0000-4000-0000-011c8959029e(jetbrains.mps.lang.editor.structure)" version="32" />
+ <languageAspect modelUID="r:00000000-0000-4000-0000-011c89590288(jetbrains.mps.lang.core.structure)" version="0" />
+ <devkit namespace="fbc25dd2-5da4-483a-8b19-70928e1b62d7(jetbrains.mps.devkit.general-purpose)" />
+ <maxImportIndex value="1" />
+ <import index="1" modelUID="r:a97c2fcd-b950-4f67-90d2-868c73f6be51(Calculator.structure)" version="0" />
+ <visible index="2" modelUID="r:00000000-0000-4000-0000-011c89590288(jetbrains.mps.lang.core.structure)" />
+ <node type="jetbrains.mps.lang.editor.structure.ConceptEditorDeclaration:32" id="2339873612001933429">
+ <link role="conceptDeclaration:32" targetNodeId="1.3058888773154280113:0" resolveInfo="Calculator" />
+ <node role="cellModel:32" type="jetbrains.mps.lang.editor.structure.CellModel_Collection:32" id="2339873612001933431">
+ <node role="childCellModel:32" type="jetbrains.mps.lang.editor.structure.CellModel_Constant:32" id="2339873612001933434">
+ <property name="text:32" value="calculator" />
+ </node>
+ <node role="childCellModel:32" type="jetbrains.mps.lang.editor.structure.CellModel_Property:32" id="2339873612001933436">
+ <link role="relationDeclaration:32" targetNodeId="2v.1169194664001:0" resolveInfo="name" />
+ <node role="styleItem:32" type="jetbrains.mps.lang.editor.structure.IndentLayoutNewLineStyleClassItem:32" id="2339873612002082832">
+ <property name="flag:32" value="true" />
+ </node>
+ </node>
+ <node role="childCellModel:32" type="jetbrains.mps.lang.editor.structure.CellModel_RefNodeList:32" id="2339873612002082834">
+ <link role="relationDeclaration:32" targetNodeId="1.2339873612002082831:0" />
+ <node role="cellLayout:32" type="jetbrains.mps.lang.editor.structure.CellLayout_Indent:32" id="2339873612002082835" />
+ <node role="styleItem:32" type="jetbrains.mps.lang.editor.structure.IndentLayoutNewLineChildrenStyleClassItem:32" id="2339873612002082836">
+ <property name="flag:32" value="true" />
+ </node>
+ <node role="styleItem:32" type="jetbrains.mps.lang.editor.structure.IndentLayoutNewLineStyleClassItem:32" id="2339873612002087732">
+ <property name="flag:32" value="true" />
+ </node>
+ </node>
+ <node role="childCellModel:32" type="jetbrains.mps.lang.editor.structure.CellModel_Constant:32" id="2339873612002087734">
+ <property name="text:32" value="" />
+ <node role="styleItem:32" type="jetbrains.mps.lang.editor.structure.IndentLayoutNewLineStyleClassItem:32" id="2339873612002087735">
+ <property name="flag:32" value="true" />
+ </node>
+ </node>
+ <node role="childCellModel:32" type="jetbrains.mps.lang.editor.structure.CellModel_RefNodeList:32" id="2339873612002087727">
+ <link role="relationDeclaration:32" targetNodeId="1.2339873612002087726:0" />
+ <node role="cellLayout:32" type="jetbrains.mps.lang.editor.structure.CellLayout_Indent:32" id="2339873612002087728" />
+ <node role="styleItem:32" type="jetbrains.mps.lang.editor.structure.IndentLayoutNewLineChildrenStyleClassItem:32" id="2339873612002087729">
+ <property name="flag:32" value="true" />
+ </node>
+ </node>
+ <node role="cellLayout:32" type="jetbrains.mps.lang.editor.structure.CellLayout_Indent:32" id="2339873612001933433" />
+ </node>
+ </node>
+ <node type="jetbrains.mps.lang.editor.structure.ConceptEditorDeclaration:32" id="2339873612002082823">
+ <link role="conceptDeclaration:32" targetNodeId="1.2339873612002082821:0" resolveInfo="InputField" />
+ <node role="cellModel:32" type="jetbrains.mps.lang.editor.structure.CellModel_Collection:32" id="2339873612002082825">
+ <node role="childCellModel:32" type="jetbrains.mps.lang.editor.structure.CellModel_Constant:32" id="2339873612002082828">
+ <property name="text:32" value="input" />
+ </node>
+ <node role="childCellModel:32" type="jetbrains.mps.lang.editor.structure.CellModel_Property:32" id="2339873612002082830">
+ <link role="relationDeclaration:32" targetNodeId="2v.1169194664001:0" resolveInfo="name" />
+ </node>
+ <node role="cellLayout:32" type="jetbrains.mps.lang.editor.structure.CellLayout_Indent:32" id="2339873612002082827" />
+ </node>
+ </node>
+ <node type="jetbrains.mps.lang.editor.structure.ConceptEditorDeclaration:32" id="2339873612002087720">
+ <link role="conceptDeclaration:32" targetNodeId="1.2339873612002087719:0" resolveInfo="OutputField" />
+ <node role="cellModel:32" type="jetbrains.mps.lang.editor.structure.CellModel_Collection:32" id="2339873612002087722">
+ <node role="childCellModel:32" type="jetbrains.mps.lang.editor.structure.CellModel_Constant:32" id="2339873612002087725">
+ <property name="text:32" value="output" />
+ </node>
+ <node role="childCellModel:32" type="jetbrains.mps.lang.editor.structure.CellModel_RefNode:32" id="2339873612002089361">
+ <link role="relationDeclaration:32" targetNodeId="1.2339873612002089359:0" />
+ </node>
+ <node role="cellLayout:32" type="jetbrains.mps.lang.editor.structure.CellLayout_Indent:32" id="2339873612002087724" />
+ </node>
+ </node>
+ <node type="jetbrains.mps.lang.editor.structure.ConceptEditorDeclaration:32" id="2339873612002094872">
+ <link role="conceptDeclaration:32" targetNodeId="1.2339873612002093005:0" resolveInfo="InputFieldReference" />
+ <node role="cellModel:32" type="jetbrains.mps.lang.editor.structure.CellModel_RefCell:32" id="2339873612002094874">
+ <link role="relationDeclaration:32" targetNodeId="1.2339873612002093006:0" />
+ <node role="editorComponent:32" type="jetbrains.mps.lang.editor.structure.InlineEditorComponent:32" id="2339873612002094875">
+ <node role="cellModel:32" type="jetbrains.mps.lang.editor.structure.CellModel_Property:32" id="2339873612002094877">
+ <property name="readOnly:32" value="true" />
+ <link role="relationDeclaration:32" targetNodeId="2v.1169194664001:0" resolveInfo="name" />
+ </node>
+ </node>
+ </node>
+ </node>
+</model>
+
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<history>
+ <StructureModification>
+ <dependencies>
+ <model index="h01j" modelUID="r:a97c2fcd-b950-4f67-90d2-868c73f6be51(Calculator.structure)" version="-1" />
+ </dependencies>
+ <rename id="h01j.2339873612002093006" type="REFERENCE" from="inputField" to="field" />
+ </StructureModification>
+</history>
+
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata>
+ <entry>
+ <key>version</key>
+ <value>0</value>
+ </entry>
+</metadata>
+
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<model modelUID="r:a97c2fcd-b950-4f67-90d2-868c73f6be51(Calculator.structure)">
+ <persistence version="4" />
+ <refactoringHistory />
+ <language namespace="21560302-1e32-4533-bc15-78171e32e68f(Calculator)" />
+ <language namespace="c72da2b9-7cce-4447-8389-f407dc1158b7(jetbrains.mps.lang.structure)" />
+ <languageAspect modelUID="r:00000000-0000-4000-0000-011c89590288(jetbrains.mps.lang.core.structure)" version="0" />
+ <languageAspect modelUID="r:00000000-0000-4000-0000-011c89590292(jetbrains.mps.lang.structure.structure)" version="0" />
+ <languageAspect modelUID="r:00000000-0000-4000-0000-011c895902ca(jetbrains.mps.baseLanguage.structure)" version="3" />
+ <devkit namespace="fbc25dd2-5da4-483a-8b19-70928e1b62d7(jetbrains.mps.devkit.general-purpose)" />
+ <maxImportIndex value="1" />
+ <import index="1" modelUID="r:a97c2fcd-b950-4f67-90d2-868c73f6be51(Calculator.structure)" version="0" />
+ <visible index="2" modelUID="r:00000000-0000-4000-0000-011c89590288(jetbrains.mps.lang.core.structure)" />
+ <node type="jetbrains.mps.lang.structure.structure.ConceptDeclaration:0" id="3058888773154280113">
+ <property name="name:0" value="Calculator" />
+ <property name="rootable:0" value="true" />
+ <link role="extends:0" targetNodeId="2v.1133920641626:0" resolveInfo="BaseConcept" />
+ <node role="linkDeclaration:0" type="jetbrains.mps.lang.structure.structure.LinkDeclaration:0" id="2339873612002082831">
+ <property name="metaClass:0" value="aggregation" />
+ <property name="role:0" value="inputField" />
+ <property name="sourceCardinality:0" value="0..n" />
+ <link role="target:0" targetNodeId="2339873612002082821:0" resolveInfo="InputField" />
+ </node>
+ <node role="linkDeclaration:0" type="jetbrains.mps.lang.structure.structure.LinkDeclaration:0" id="2339873612002087726">
+ <property name="metaClass:0" value="aggregation" />
+ <property name="role:0" value="outputField" />
+ <property name="sourceCardinality:0" value="0..n" />
+ <link role="target:0" targetNodeId="2339873612002087719:0" resolveInfo="OutputField" />
+ </node>
+ <node role="implements:0" type="jetbrains.mps.lang.structure.structure.InterfaceConceptReference:0" id="3058888773154280114">
+ <link role="intfc:0" targetNodeId="2v.1169194658468:0" resolveInfo="INamedConcept" />
+ </node>
+ </node>
+ <node type="jetbrains.mps.lang.structure.structure.ConceptDeclaration:0" id="2339873612002082821">
+ <property name="name:0" value="InputField" />
+ <link role="extends:0" targetNodeId="2v.1133920641626:0" resolveInfo="BaseConcept" />
+ <node role="implements:0" type="jetbrains.mps.lang.structure.structure.InterfaceConceptReference:0" id="2339873612002082822">
+ <link role="intfc:0" targetNodeId="2v.1169194658468:0" resolveInfo="INamedConcept" />
+ </node>
+ </node>
+ <visible index="3" modelUID="r:00000000-0000-4000-0000-011c895902ca(jetbrains.mps.baseLanguage.structure)" />
+ <node type="jetbrains.mps.lang.structure.structure.ConceptDeclaration:0" id="2339873612002087719">
+ <property name="name:0" value="OutputField" />
+ <link role="extends:0" targetNodeId="2v.1133920641626:0" resolveInfo="BaseConcept" />
+ <node role="linkDeclaration:0" type="jetbrains.mps.lang.structure.structure.LinkDeclaration:0" id="2339873612002089359">
+ <property name="metaClass:0" value="aggregation" />
+ <property name="role:0" value="expression" />
+ <property name="sourceCardinality:0" value="1" />
+ <link role="target:0" targetNodeId="3v.1068431790191:3" resolveInfo="Expression" />
+ </node>
+ </node>
+ <node type="jetbrains.mps.lang.structure.structure.ConceptDeclaration:0" id="2339873612002093005">
+ <property name="name:0" value="InputFieldReference" />
+ <link role="extends:0" targetNodeId="3v.1068431790191:3" resolveInfo="Expression" />
+ <node role="linkDeclaration:0" type="jetbrains.mps.lang.structure.structure.LinkDeclaration:0" id="2339873612002093006">
+ <property name="metaClass:0" value="reference" />
+ <property name="role:0" value="field" />
+ <property name="sourceCardinality:0" value="1" />
+ <link role="target:0" targetNodeId="2339873612002082821:0" resolveInfo="InputField" />
+ </node>
+ </node>
+</model>
+
Oops, something went wrong.

0 comments on commit e733ae9

Please sign in to comment.