Search
Resolved
as Fixed Help for as Fixed

2
Sign in to vote
0
Sign in to vote
Sign in
to vote
Type: Bug
ID: 473785
Opened: 7/10/2009 1:18:23 PM
Access Restriction: Public
Primary Feedback Item: 468315
0
Workaround(s)
1
User(s) can reproduce this bug
see repro grammar. nested parameter reference weirdnessitude.
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 issue?
Critical Need (Blocking issue)
Repro Steps for Product Issue:
module MSW_Test226 { // smth brkn
language MSW_Test226 {
syntax Main = OneOrOnePlusBloop(FOOBAR);
token FOOBAR = "foobar";
syntax OneOrOnePlusBloop(rule)
= rule
| rule OneOrOnePlusBloop("bloop");
}
} // input: foobarfoobarfoobar
If this issue occurred during a Hands-on-Lab, which one was it? 
 
File Attachments
0 attachments
Sign in to post a comment.
Posted by diakopter on 7/12/2009 at 9:46 PM
As an (hopefully interesting) aside, JSMeta (and CSMeta) currently suffers from the same symptom/behavior in the left-recursive case (line 7 below changed to '| OneOrOnePlusBloop("bloop") rule;' fails with input "bloopbloopbloopfoobar"), but it gets the below grammar MSW_Test226 correct as is. (It fails on "foobarfoobarfoobar", but succeeds on "foobarbloopbloopbloop"). I'll try to fix it tomorrow.
Posted by diakopter on 7/16/2009 at 9:37 AM
fyi in case anyone's listening: I fixed the similar/analogous problem in JSMeta...