CocoR for Visual Studio - RC0

Rating:        Based on 1 rating
Reviewed:  1 review
Downloads: 168
Released: Jun 4, 2009
Updated: Jun 4, 2009 by prabirshrestha
Dev status: Beta Help Icon

Recommended Download

application, 69K, uploaded Jun 4, 2009 - 107 downloads

Other Available Downloads

Source Code
source code, 591K, uploaded Jun 4, 2009 - 61 downloads

Release Notes

This is Release Candidate Version of Coco/R Plugin for Visual Studio.

It has only been testested on Visual Studio 2008 SP1 (might work with previous release Visual Studio 2005, 2003, and 2002 - although the solution file is in Visual Studio 2008. - Requires .net 2.0 to be installed for VS 2003 and VS2002). More versions are planned on the upcoming releases. In order to compile in Windows Vista and Windows 7 you will need to run Visual Studio in Administrator mode.

It is recommended that for the first time before you create the library, run the registerCocor.bat file located in Release\RC0 folder. (For Vista and Win7 users please run it as administrator).

Please remember to put the custom tool name to cocor to generate the .Parser.cs and .Scanner.cs file automatically. It can be done by right click and properties on your .atg grammar file.

Features added to this release (RC 0)

  • Added support for Item Template for Coco/R Scanner and Parser Frames.
  • Added support for using custom scanner and parser frames. (To use frame files, it is recommended that you use grammar.scanner.frame - where grammar is your grammar.atg). Even though grammar.scanner.frame might not be nested automatically it is recommended you save the .atg file to automatically nest it. If you don't have grammar.scanner.frame file, it will look for scanner.frame file in you grammar.atg directory. (This file will not be nested in .atg file). If still it cannot find, it will then use the default frame files which is an embedded resource. Same holds true for parser frame files.

Features added to Beta 2

Added support for Item Template for Coco/R Attributed Grammar (.atg file).

Features added to beta 1

namespace : namespace is supported in this version,
by default the namespace generated is Project name along with the folder which is same as how visual studio generates a namespace for newly added c# file.
If you wont to change the default behavior you can do so explicitly by adding the following line in the first line
in the grammar file (.atg)
For example
Generates scanner and parser class which belongs to Prabir.TestNamespace
Generates scanner and parser class which doesn't belong to any namespace

Note: These must start with // not /* */ comments for namespace not allowed. and must be the first line of the grammar file.

Reviews for this release

Works very well. A bit more documentation (regarding installation and customization) would have been nice.
by SealedSun on Oct 14, 2009 at 5:20 PM