Text Templates In this post are described text templates. It was used in the developed tool. With it you can generate source code for modeled functional programs. The user has two choices: it can either use the default templates provided with the plugin, or define your own templates. Text Templates in Microsoft Visual Studio 2010…
Tag Archives: F#
Visual Model For F# – Example 2
Rich Inheritance – Example 2 In this example, a program was modeled (Figure 1), which has a number of classes/types, with the inheritance relationships between them. The below diagram shows the type called Shape, which has been marked as abstract. This type represents an abstract shape. In this class there is an abstract method Area,…
Visual Model For F# – Installation
Installation and start-up Plugin to Microsoft Visual Studio 2010 is installed by double-clicking on the package with the .VSIX extension, and then follow the instructions. In the case of this project a file is named BielastyAdam.VisualModelForFSharp.DslPackage. Pack looks like Figure 1 below. Figure 1: Plugin VisualModelForFSharp for Microsoft Visual Studio 2010 The package will be…
Visual Model For F# – Metamodel
Metamodel Metamodel in computer science is a set of concepts in a certain area. If the model is an abstraction of a phenomenon, a metamodel is an abstraction that represents the properties of this model. In this post discusses the modeling language metamodel presented in previous threads. The proposed metamodel is shown in the schematic…
Visual Model For F# – Example 1
Nested modules – example 1 This example shows the possibilities of the created tool when we model modules. They can be nested within each other, as shown in Figure 1 This model illustrats a number of modules that have a function with the same name. In this case, it is simply a function without arguments…