locked
Developing MSchema along with MGrammar to have the AST validated RRS feed

  • General discussion

  • Intellipad MGrammar Mode with Tree Preview ist great! But I would like to define my semantic model along with my grammar and have the AST checked against it immediately.

    Any plans/thoughts? I'm sure I could write a python script for it, if I knew python an intellipad well enough :-)
    Wednesday, November 26, 2008 5:54 PM

All replies

  • I would say that in the long term, a goal of the language would be to enable that kind of validation. In the near term, though, this won't be supported.

    Paul


    Paul Vick MSFT
    Wednesday, November 26, 2008 6:40 PM
  • XSD without validation would be quite worthless, wouldn't it?

    Extent initializers (GraphExpressions) are already validated against schemas. Isn't this validation available throught an API?
    Thursday, November 27, 2008 2:36 PM
  • Sorry for the slow reply... There isn't really a technical challenge in that you are correct--we already validate graphs against schemas in the MSchema compiler. It's more of a question of getting the various pieces wired together, as well as getting the two languages wired together. We're headed there, we just aren't there yet.

    Paul
    Paul Vick MSFT
    Friday, December 12, 2008 10:45 PM