Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • \$\begingroup\$ I don't think this quite works. You're missing the return statement in case of reading an EOF, and you need to handle the bootstrapping cases when you don't have two items on the stack. \$\endgroup\$ Commented Oct 16, 2012 at 7:03
  • \$\begingroup\$ First of all, what language is this? Secondly, how would you run this? Also, what Peter Taylor said. \$\endgroup\$ Commented Oct 17, 2012 at 22:40
  • \$\begingroup\$ it's D it's run with parse(0,0) (completely valid ;P ) and I forgot to handle the eof case... \$\endgroup\$ Commented Oct 17, 2012 at 22:56