ArcticLight / JRPNMachine

Java Reverse Polish Notation Machine
2 stars 0 forks source link

How are we gonna do input? #1

Closed hawkw closed 11 years ago

hawkw commented 11 years ago

Scanner? ConsoleReader? Swing/AWT gui? Some other thing?

ArcticLight commented 11 years ago

Make it frontend agnostic - start by coding up the eval, and maybe a "put" or "set" or something like that, to get it to eval and work with arbitrary input sent to it by other code.

Then, we can attach it to any input system we want. It would be trivial to do both swing and console reader, and then go back and do scanner as well etc

On Tue, Apr 2, 2013 at 2:13 PM, Hawk Weisman notifications@github.comwrote:

Scanner? ConsoleReader? Swing/AWT gui? Some other thing?

— Reply to this email directly or view it on GitHubhttps://github.com/ArcticLight/JRPNMachine/issues/1 .

hawkw commented 11 years ago

fair enough :) eval's done though as far as I can tell