Stratego/XT JIRA  History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: STR-12
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Eelco Visser
Reporter: Rob Vermaas
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Stratego/XT

@ in dynamic rule match

Created: 2004-03-18 09:32   Updated: 2008-03-31 20:39
Component/s: strc - Stratego compiler
Affects Version/s: None
Fix Version/s: 0.10

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Solve
 
This issue will be solved by:
STR-66 Review and improve dummification of L... Minor Closed



 All   Comments   Work Log   Change History      Sort Order:
Arthur van Dam [2004-04-26 12:20]
This is indeed dynamic-rules specific: when lifting, a rule with @ in its LHS, produces a dummified term like: `[]@t' which is used for storing and looking up bindings.

Simply using term-projection `try(?As(_,<id>))' on the LHS is probably not sufficient, since the LHS may also contain As's deeper inside.

Normal strategies `?s @ t @ (1,2)' work fine.

Eelco Visser [2004-04-27 09:07]
turned out that this was easy to fix; just a matter of filtering out
_@ expressions before dummifying the lhs