i tried one of your example postfix compiler, But when I execute this i got blank why?

22 views
Skip to first unread message

Ravi A

unread,
Jun 30, 2017, 8:56:56 AM6/30/17
to SableCC
$java postfix.Compiler

Type an arithmetic expression:
(45 + 36/2) ∗ 3 + 5 ∗ 2

When I press enter it didn't show anything.

Etienne Gagnon

unread,
Jun 30, 2017, 9:02:49 AM6/30/17
to sab...@googlegroups.com
Hi Ravi,

See below.
The postfix compiler is waiting for the "end of stream". On Windows, you
need to press Ctrl-Z (the Control and the Z keys simultaneously on your
keyboard). On OS X and Linux, you need to press Ctrl-D.

Have fun!

Etienne

Etienne Gagnon, Ph.D.
http://sablecc.org

Ravi A

unread,
Jul 26, 2017, 12:35:59 AM7/26/17
to SableCC
Thank you etienne. I got it.
Reply all
Reply to author
Forward
0 new messages