The “Tour” on the Spoofax website currently only explains how to use dynamic rules for the entities language. The NWL language could make a good example of how to do it when you have scopes.

Submitted by Lennart Kats on 25 February 2010 at 08:21

On 16 December 2012 at 11:21 Guido Wachsmuth commented:

We should rethink the need for this. With NBL, the need for dynamic rules decreases. When you still like to remember things, you can use the index nowadays. In the current CC lab, students store everything in the index instead of using my old library, which was made to hide dynamic rules from them.


On 16 December 2012 at 13:29 Emmanuel Castro commented:

Isn’t it because every young coder knows how to use an hashmap? And because the lack of examples about dynamic rules?


On 16 December 2012 at 13:35 Guido Wachsmuth commented:

Hashmaps do not solve the issue, because you have to pass them around and you have to either encode scoping in keys (like the index does) or maintain scoped hashmaps.


On 8 January 2013 at 12:55 Eelco Visser removed tag 1.3

On 8 January 2013 at 12:55 Eelco Visser tagged interesting

On 8 January 2013 at 16:25 Eelco Visser removed tag @lennartkats

On 8 January 2013 at 16:25 Eelco Visser removed tag @eelcovisser

On 8 January 2013 at 16:25 Eelco Visser removed tag interesting

On 8 January 2013 at 16:25 Eelco Visser removed tag pitfall

On 8 January 2013 at 16:26 Eelco Visser tagged wontfix

On 8 January 2013 at 16:26 Eelco Visser commented:

Scoping should be expressed with NBL; dynamic rules are not relevant for this purpose anymore.


On 8 January 2013 at 16:26 Eelco Visser closed this issue.

Log in to post comments