Click here to Skip to main content
13,143,985 members (35,159 online)
Click here to Skip to main content

Stats

57.7K views
1K downloads
74 bookmarked
Posted 3 Sep 2008

Writing your first Domain Specific Language, Part 2 of 2

, 3 Sep 2008
A guide to writing a compiler in .NET for beginners, using Irony.

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FreightLanguageCompiler", "FreightLanguageCompiler\FreightLanguageCompiler.csproj", "{96EF562B-E459-4CD5-99F7-47C8E467BF76}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Snippets", "Snippets", "{38414E5E-5494-4D73-93EC-FB8B5E7373F1}"
	ProjectSection(SolutionItems) = preProject
		FLSnippets\IronySnippets.snippet = FLSnippets\IronySnippets.snippet
	EndProjectSection
EndProject
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "ExampleSite", "ExampleSite\", "{DABBEFE4-BE19-4BB7-9783-54360FEEEB2B}"
	ProjectSection(WebsiteProperties) = preProject
		TargetFramework = "3.5"
		ProjectReferences = "{96EF562B-E459-4CD5-99F7-47C8E467BF76}|FreightLanguageCompiler.dll;"
		Debug.AspNetCompiler.VirtualPath = "/ExampleSite"
		Debug.AspNetCompiler.PhysicalPath = "ExampleSite\"
		Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\ExampleSite\"
		Debug.AspNetCompiler.Updateable = "true"
		Debug.AspNetCompiler.ForceOverwrite = "true"
		Debug.AspNetCompiler.FixedNames = "false"
		Debug.AspNetCompiler.Debug = "True"
		Release.AspNetCompiler.VirtualPath = "/ExampleSite"
		Release.AspNetCompiler.PhysicalPath = "ExampleSite\"
		Release.AspNetCompiler.TargetPath = "PrecompiledWeb\ExampleSite\"
		Release.AspNetCompiler.Updateable = "true"
		Release.AspNetCompiler.ForceOverwrite = "true"
		Release.AspNetCompiler.FixedNames = "false"
		Release.AspNetCompiler.Debug = "False"
		VWDPort = "1045"
		DefaultWebSiteLanguage = "Visual C#"
	EndProjectSection
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|.NET = Debug|.NET
		Debug|Any CPU = Debug|Any CPU
		Debug|Mixed Platforms = Debug|Mixed Platforms
		Release|.NET = Release|.NET
		Release|Any CPU = Release|Any CPU
		Release|Mixed Platforms = Release|Mixed Platforms
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{96EF562B-E459-4CD5-99F7-47C8E467BF76}.Debug|.NET.ActiveCfg = Debug|Any CPU
		{96EF562B-E459-4CD5-99F7-47C8E467BF76}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{96EF562B-E459-4CD5-99F7-47C8E467BF76}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{96EF562B-E459-4CD5-99F7-47C8E467BF76}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{96EF562B-E459-4CD5-99F7-47C8E467BF76}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{96EF562B-E459-4CD5-99F7-47C8E467BF76}.Release|.NET.ActiveCfg = Release|Any CPU
		{96EF562B-E459-4CD5-99F7-47C8E467BF76}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{96EF562B-E459-4CD5-99F7-47C8E467BF76}.Release|Any CPU.Build.0 = Release|Any CPU
		{96EF562B-E459-4CD5-99F7-47C8E467BF76}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{96EF562B-E459-4CD5-99F7-47C8E467BF76}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{DABBEFE4-BE19-4BB7-9783-54360FEEEB2B}.Debug|.NET.ActiveCfg = Debug|.NET
		{DABBEFE4-BE19-4BB7-9783-54360FEEEB2B}.Debug|.NET.Build.0 = Debug|.NET
		{DABBEFE4-BE19-4BB7-9783-54360FEEEB2B}.Debug|Any CPU.ActiveCfg = Debug|.NET
		{DABBEFE4-BE19-4BB7-9783-54360FEEEB2B}.Debug|Mixed Platforms.ActiveCfg = Debug|.NET
		{DABBEFE4-BE19-4BB7-9783-54360FEEEB2B}.Debug|Mixed Platforms.Build.0 = Debug|.NET
		{DABBEFE4-BE19-4BB7-9783-54360FEEEB2B}.Release|.NET.ActiveCfg = Debug|.NET
		{DABBEFE4-BE19-4BB7-9783-54360FEEEB2B}.Release|.NET.Build.0 = Debug|.NET
		{DABBEFE4-BE19-4BB7-9783-54360FEEEB2B}.Release|Any CPU.ActiveCfg = Debug|.NET
		{DABBEFE4-BE19-4BB7-9783-54360FEEEB2B}.Release|Mixed Platforms.ActiveCfg = Debug|.NET
		{DABBEFE4-BE19-4BB7-9783-54360FEEEB2B}.Release|Mixed Platforms.Build.0 = Debug|.NET
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Daniel Flower
Software Developer
China China
Daniel has a Bachelor of Science with First Class Honours from the University of Auckland, and has designed and developed software in companies large and small.

You may also be interested in...

Pro
Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170915.1 | Last Updated 3 Sep 2008
Article Copyright 2008 by Daniel Flower
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid