/*
对于给定的字符串进行分析语义
时间限制: 3000MS
内存限制: 589824KB
题目描述:
给定code,解析特定的语法描述
输入描述
const a = 5 + 5;
const c = 5 + 5 / 4 * 10
const d = 5 * 5 + 3 * 2
输出描述
{"operation": "=", "arguments":["a", {"operation": "+", "arguments": [5, 5]}]}
{"operation":"=","arguments":["c",{"operation":"+","arguments":[5,{"operation":"*","arguments":[10,{"operation":"/","arguments":[5,4]}]}]}]}
{"operation":"=","arguments":["d",{"operation":"+","arguments":[{"operation":"*","arguments":[5,5]},{"operation":"*","arguments":[3,2]}]}]}
样例输入
const a = 5 + 5;
样例输出
{"operation":"=","arguments":["a",{"operation":"+","arguments":[5,5]}]}
提示
一种AST,记得排序arguments 排序
*/
console