Click here to Skip to main content
Click here to Skip to main content
Articles » Languages » C# » General » Downloads
 
Add your own
alternative version
Go to top

Coco Custom Tool for Visual Studio.NET

, 29 Oct 2005
Use the award winning Coco compiler's compiler directly from within Visual Studio
vscoco.zip
vsCoco
bin
VsCoco.dll
vsCoco.tlb
vsCocoRegistration.exe
Calculator
App.ico
Calc.atg
Calculator.csproj.user
Calculator.suo
VsCoCo
vsCoco.png
Coco
Coco.atg
Parser.frame
Scanner.frame
CustomToolGenerator
vsCoco
VsCoco.csproj.user
vsCocoRegistration
reg.ico
Thumbs.db
vsCocoRegistration.csproj.user
using System;
using EnvDTE;

namespace VsCoco
{
	/// <summary>
	/// Description r�sum�e de vsCocoParser.
	/// </summary>
	public class vsCocoScanner: at.jku.ssw.Coco.Scanner  
	{
		public vsCocoScanner(System.IO.Stream str) : base(str)
		{
		}

		public override void Write(string s)
		{
			vsCoco.OWp.OutputString(s);
		}

		public override void WriteError(string fmt, string file, int lin, int col, string err)
		{
			err=string.Format("{0}({1},{2}): {3}\r\n",file,lin,col,err);
			vsCoco.OWp.OutputString(err);
		}

		public override void WriteLine(string s)
		{
			vsCoco.OWp.OutputString(s);
			vsCoco.OWp.OutputString("\r\n");
		}
	}
}

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

Pascal Ganaye
Software Developer (Senior)
United Kingdom United Kingdom
I am a French programmer.
These days I spend most of my time with the .NET framework, JavaScript and html.

| Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 29 Oct 2005
Article Copyright 2005 by Pascal Ganaye
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid