Thinking about it. It would also be possible to JSON dump the optree and make the execute_tree be written entirely in Javascript. Paul