--
-- You received this message because you are subscribed to the SableCC group. To post to this group, send email to sab...@googlegroups.com. To unsubscribe from this group, send email to sablecc+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/sablecc?hl=en
public class Main { public static void main(String[] args) throws Exception { Node ast = new Parser(...).parse(); for(...) { new InterpreterThread(ast).start(); } } } public class InterpreterThread extends Thread { private final Node ast; public InterpreterThread(Node ast) { this.ast = ast; } public void run() { ... // walk the ast without modifying it } }I think that the programmer that creates a multi-threaded interpreter running on a SableCC AST can easily avoid modifying the AST, if immutability is a safety requirement for his concurrency design.
Is there still an eclipse plugin for SableCC available? I found a link on the website ( http://cse.unl.edu/~kdeng/myweb/fun/code/code.html) , but it is no longer active.
Thanks!
Roger
Is there still an eclipse plugin for SableCC available? I found a link on the website ( http://cse.unl.edu/~kdeng/myweb/fun/code/code.html) , but it is no longer active.
Thanks!
Roger
--
--