.NET Framework Developer Center > .NET Development Forums > Microsoft SQL Server Modeling > MGrammar stuck when compiled, Intellipad stops responding
Ask a questionAsk a question
 

AnswerMGrammar stuck when compiled, Intellipad stops responding

  • Tuesday, November 03, 2009 11:18 AMAles Sturala CZE Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello,
    I'm dealing with a grammar that causes Intellipad to stop validating it. Also when I try to compile it with m.exe, the compiler gets stuck and doesn't compile the grammar. It seems to me that the compiler gets to infinite loop somewhere and most likely that's what makes Intellipad unresponsive to the given grammar as well.

    Here is a short grammar that cannot be compiled, if you remove syntax parameters the m.exe will be able to compile it and Intellipad to handle the grammar:

    module X
    {
      language wtf
      {
        token Letter = "a".."z" | "A".."Z";
        token String = Letter+;
     
        syntax Main = A(" ");
       
        syntax A(x) = "a"
                    | "a" B(" ");
                
        syntax B(y) = "b"
                    | "b" A(" ");
      }
    }
    contact: http://hidentity.org/hid/CZ123456

Answers

  • Tuesday, November 03, 2009 7:09 PMdmatsonMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Ales,

    I'm sorry to hear that you ran into this issue. You encountered a know bug with the current compiler. I expect this bug will be fixed in our next CTP release.

    Sorry for the inconvenience, and thanks for your interest in Oslo.

    David

All Replies

  • Tuesday, November 03, 2009 7:09 PMdmatsonMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Ales,

    I'm sorry to hear that you ran into this issue. You encountered a know bug with the current compiler. I expect this bug will be fixed in our next CTP release.

    Sorry for the inconvenience, and thanks for your interest in Oslo.

    David