Regenerating parsers

Sep 21, 2008 at 9:23 PM
Hi Jeff!$0$0$0$0New solution organisation looks great.$0$0$0$0$0I've deleted the generated 'Calculator.cs' file and can't seem to get it back, either by running the bootstrapper or README - any suggestions?$0$0$0$0$0Cheers,$0$0Nick$0
Coordinator
Sep 21, 2008 at 10:53 PM
You should be able to set the Calculator project as your startup project and then change the parameter you pass to the run to be this:

OMetaConsoleProgram.Run<Program>(OMetaConsoleOptions.CompileGrammars);

This tells the code that Program inherits from that you want to compile the Calculator.ometacs fine to Calculator.cs.

Sep 21, 2008 at 11:00 PM
That did the trick. Thanks!

On Sun, Sep 21, 2008 at 2:53 PM, jeffmoser <notifications@codeplex.com> wrote:

From: jeffmoser

You should be able to set the Calculator project as your startup project and then change the parameter you pass to the run to be this:

OMetaConsoleProgram.Run<Program>(OMetaConsoleOptions.CompileGrammars);

This tells the code that Program inherits from that you want to compile the Calculator.ometacs fine to Calculator.cs.

Read the full discussion online.

To add a post to this discussion, reply to this email (ometasharp@discussions.codeplex.com)

To start a new discussion for this project, email ometasharp@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com