将算术表达式转换成抽象语法树的JS程序实现。A program in JS can evaluate an arithmetic expression and convert it to abstract syntax tree.