Skip to content

Bubesz/meta-cs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

meta-cs

MetaDslx is a user friendly metamodeling framework for .NET.

MetaDslx supports the following features:

  • implementing domain specific languages
  • extending ANTLR4 grammars with annotations
  • creating compilers with semantic analysis for domain specific languages
  • creating user friendly template-based code generators
  • generating syntax highlighters for Visual Studio

Instructions for users

Installation

These are the installation instructions if you would like to use the MetaDslx framework for creating your own DSLs. For an example DSL see the SOAL language.

The MetaDslx framework requires Visual Studio 2015 and .NET Framework 4.5.2.

Installation steps:

  1. Extract the MetaDslx-v.zip* file and make sure that the GAC_DIR environment variable in the install batch files point to the correct location of the .NET tools directory.
  2. Run install64.bat on 64-bit systems, or install32.bat on 32-bit systems to install the MetaDslx DLLs to the GAC.
  3. Run the MetaDslx.VisualStudio.vsix to install the Visual Studio 2015 plugin.

Uninstallation

  1. In Visual Studio open the Tools / Extensions and Updates... menu, look for the MetaDslx Extension for Visual Studio and click on Uninstall.
  2. Run uninstall64.bat on 64-bit systems, or uninstall32.bat on 32-bit systems to remove the MetaDslx DLLs from the GAC.

Instructions for developers

Installation

These are the installation instructions if you would like to build the MetaDslx framework from source.

Building the MetaDslx framework requires Visual Studio 2015 and the Visual Studio 2015 SDK (Visual Studio Extensibility Tools).

Installation steps:

  1. Extract the MetaDslx-v.zip* file and make sure that the GAC_DIR environment variable in the install batch files point to the correct location of the .NET tools directory.
  2. Run install64antlr.bat on 64-bit systems, or install32antlr.bat on 32-bit systems to install the ANTLR4 runtime DLL to the GAC.
  3. Run the MetaDslx.VisualStudio.vsix to install the Visual Studio 2015 plugin.
  4. Check out the source from GitHub.
  5. Open the Src\MetaDslx.sln in Visual Studio.
  6. Right click the MetaDslx.VisualStudio project, and under the Debug tab set the following:
  • Start Action / Start external program: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe
  • Start Options / Command line arguments: /rootsuffix Exp
  1. Right click on the MetaDslx solution and choose Build Solution.

Uninstallation

  1. In Visual Studio open the Tools / Extensions and Updates... menu, look for the MetaDslx Extension for Visual Studio and click on Uninstall.
  2. Run uninstall64antlr.bat on 64-bit systems, or uninstall32antlr.bat on 32-bit systems to remove the ANTLR4 runtime DLL from the GAC.

About

Metamodeling and DSL framework for .NET

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 98.0%
  • ANTLR 1.3%
  • Other 0.7%