Y
Hacker News
new
|
ask
|
show
|
jobs
by
justinmeiners
2099 days ago
Doesn't shunting yard solve this pretty simply? Once you have an expression in RPN, building expression trees is pretty easy.
2 comments
rbtprograms
2099 days ago
I recently did this same project in Javascript and you're correct, shunting yard is perfect for this.
link
MH15
2099 days ago
I did a project with Shunting-Yard in Golang and yes, that's the proper way to do this.
link