M.exe always generates a Collection for a Record from an Mg grammar...even though Intellipad correctly displays it as a record.<br/><br/>Example:<br/><br/>.mg:<br/> <pre>module M { language L { syntax Main = i:ident n:num =&gt; { i, n }; token ident = a:any =&gt; ident{a}; token num = a:any =&gt; num{a}; } }</pre> Instance document: &quot;a7&quot;<br/><br/>Intellipad output:<br/><br/> <pre>{ ident =&gt; &quot;a&quot;, num =&gt; &quot;7&quot; }</pre> After compiling the .mg with m.exe the root node is a collection.<br/>© 2009 Microsoft Corporation. All rights reserved.Sat, 11 Jul 2009 08:08:28 Zdf519265-b974-440c-8f68-63fa62560053http://social.msdn.microsoft.com/Forums/en-US/oslo/thread/df519265-b974-440c-8f68-63fa62560053#df519265-b974-440c-8f68-63fa62560053http://social.msdn.microsoft.com/Forums/en-US/oslo/thread/df519265-b974-440c-8f68-63fa62560053#df519265-b974-440c-8f68-63fa62560053Ceyhun Ciperhttp://social.msdn.microsoft.com/Profile/en-US/?user=Ceyhun%20CiperM.exe always generates a Collection for a Record from an Mg grammar...even though Intellipad correctly displays it as a record.<br/><br/>Example:<br/><br/>.mg:<br/> <pre>module M { language L { syntax Main = i:ident n:num =&gt; { i, n }; token ident = a:any =&gt; ident{a}; token num = a:any =&gt; num{a}; } }</pre> Instance document: &quot;a7&quot;<br/><br/>Intellipad output:<br/><br/> <pre>{ ident =&gt; &quot;a&quot;, num =&gt; &quot;7&quot; }</pre> After compiling the .mg with m.exe the root node is a collection.<br/>Thu, 02 Jul 2009 15:17:22 Z2009-07-02T15:17:22Zhttp://social.msdn.microsoft.com/Forums/en-US/oslo/thread/df519265-b974-440c-8f68-63fa62560053#c5b33ddc-54ad-426e-b943-b8b68a931a0bhttp://social.msdn.microsoft.com/Forums/en-US/oslo/thread/df519265-b974-440c-8f68-63fa62560053#c5b33ddc-54ad-426e-b943-b8b68a931a0bMatthew Wilson _diakopter_http://social.msdn.microsoft.com/Profile/en-US/?user=Matthew%20Wilson%20_diakopter_M.exe always generates a Collection for a Record from an Mg grammarHi; what happens if you do this? (Sorry I can't test it myself) Main{ i, n }Thu, 02 Jul 2009 16:45:42 Z2009-07-02T16:45:42Zhttp://social.msdn.microsoft.com/Forums/en-US/oslo/thread/df519265-b974-440c-8f68-63fa62560053#6ef33e84-6bdc-496f-83c2-58405aca3983http://social.msdn.microsoft.com/Forums/en-US/oslo/thread/df519265-b974-440c-8f68-63fa62560053#6ef33e84-6bdc-496f-83c2-58405aca3983Ceyhun Ciperhttp://social.msdn.microsoft.com/Profile/en-US/?user=Ceyhun%20CiperM.exe always generates a Collection for a Record from an Mg grammarSame difference...<br/><br/>&quot;Main&quot; is just the brand of the node, which again shows up as a collection.<br/><br/>ps: Btw, I verified this again through the test suite.<br/><br/>pps: &quot;Chapeau&quot; pour jsmeta!Thu, 02 Jul 2009 17:07:25 Z2009-07-02T17:16:04Zhttp://social.msdn.microsoft.com/Forums/en-US/oslo/thread/df519265-b974-440c-8f68-63fa62560053#2a61d5f7-2bb7-4b48-98f3-e914b08e7017http://social.msdn.microsoft.com/Forums/en-US/oslo/thread/df519265-b974-440c-8f68-63fa62560053#2a61d5f7-2bb7-4b48-98f3-e914b08e7017Clemens Szyperskihttp://social.msdn.microsoft.com/Profile/en-US/?user=Clemens%20SzyperskiM.exe always generates a Collection for a Record from an Mg grammar<p>Another artifact of MGrammar/MGraph misalignment.</p>Mon, 06 Jul 2009 19:40:59 Z2009-07-06T19:40:59Z