proceduralSyntax.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
interpreter.setParser(new ProceduralParser());
repl.setSyntax(SyntaxConstants.SYNTAX_STYLE_JAVASCRIPT);
editor.setSyntax(SyntaxConstants.SYNTAX_STYLE_JAVASCRIPT);
log.log("Procedural syntax");