Search
Active

7
Sign in to vote
0
Sign in to vote
Sign in
to vote
Type: Suggestion
ID: 473228
Opened: 7/8/2009 7:35:19 AM
Access Restriction: Public
0
Workaround(s)
it would be really helpful for language designers to be able to embed arbitrary C# code in the projection of a token or syntax rule.

Yes, it's a good idea in general to stratify the generation of a tree from the postprocessing of its output, but many times it's just far more convenient (and hence more efficient for the programmer) to specify a small transformation function (or even side-effect-causing operation) in the projection of a production.
Details (expand)
What area of the product is your feedback for?
Oslo Modeling Language (Codename "M")

What distribution are you using?

Oslo SDK CTP - May 2009
How important is this requirement?
Important Need (Workaround available)
File Attachments
0 attachments
Sign in to post a comment.
Posted by motherboardlove on 7/8/2009 at 8:22 AM
I agree - but I think they should also use C++ code, too.
Posted by larsw on 7/8/2009 at 8:34 AM
It should be language agnostic (e.g. support all languages on the .NET plattform). I'm not sure if it should be a file-wide option you set with a #pragma'ish macro or something you specify in the production scope.

--larsw
Posted by Lars Corneliussen on 7/8/2009 at 1:01 PM
I would definitely like full M on the right hand (including in-memory M-queries).

But C# is IMHO no good idea.
Posted by DonBaechtel on 7/8/2009 at 1:37 PM
Any .Net language should be allowed.
Posted by semxq_suite on 7/8/2009 at 9:00 PM
I believe that MGraph will work very effectively with Quantum Computers and its Qbits. All interoperable net languages need apply.
Posted by Microsoft on 7/9/2009 at 10:29 AM
We are working on a code artifact story. It's too early to tell what the outcome will be. Thanks for letting us know.