写一个DSL的.Net平台 [英] writing a DSL for the .Net platform

查看:163
本文介绍了写一个DSL的.Net平台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想到写一个 DSL 在.NET环境中运行的。我最有可能在C#来实现这一点,虽然我很灵活这一点。

I am thinking of writing a DSL to be run in the .Net environment. I am most likely to implement this in C#, though I am flexible on this.

是否有表明参与编写DSL的.Net平台的主要步骤推荐的在线资源?

Is there a recommended online resources that show the main steps involved in writing a DSL for the .Net platform?

在理想情况下,我想一个资源,将至少提供以下的概述:

Ideally, I would like a resource that would provide at least an overview on the following:

  • 在Spec'ing一个DSL
  • 如何规格映射到.NET Framework
  • preferably一个HelloWorld的.NET语言来实现一个简单的DSL的例子

其实,我刚才看到这篇文章 - 但它有点过时。有没有人对文章是否是一个很好的起点,或不是视图(.NET Framework和C#似乎在发展速度非常快)

Actually, I have just seen this article - but it is slightly dated. Does anyone have a view on whether the article is a good starting point or not (the .Net framework and C# seem to evolve at a very rapid pace)

推荐答案

如果你愿意的话题买了一本书,我强烈推荐的在嘘的DSL:领域特定语言的.NET,由Ayende Rahien 的。非常翔实,轻轻带你穿越写的是DSL的过程。笔者采用了轻量级的.NET语言,所谓的嘘声,作为基础的DSL的语法。

If you are willing to buy a book on the topic, I highly recommend "DSLs in Boo: Domain Specific Languages in .NET" by Ayende Rahien. Very informative and gently takes you through the process of writing a DSL. The author uses a lightweight .NET language called Boo to serve as basis for the DSL's syntax.

你也可以看看VS2012的角落:

Also you can look into VS2012 corner:

  • Microsoft Visual Studio 2012 Visualization & Modeling SDK
  • Microsoft Visual Studio 2010 Visualization & Modeling SDK

这篇关于写一个DSL的.Net平台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆