Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Programming Thread

Name: Anonymous 2013-10-03 0:11

This thread is about /prog/ramming for /prog/rammers and /DPT/ers

What are you working on?

Name: Anonymous 2013-10-03 0:14

I'm tinkering my stack-based reverse polish notation calculator written in Scheme. It has a nice interface for hard-coding in new functions quickly, but I can't find a good way to store session-specific functions. I have a built in variable assignment system though.

Example session:
[RPN]>> 10
(10)
[RPN]>> 20
(20 10)
[RPN]>> 30
(30 20 10)
[RPN]>> + +
(60)
[RPN]>> 10 +
(70)
[RPN]>> p
()
[RPN]>> 10 bind:a
(10)
[RPN]>> a 10 +
(20)
[RPN]>> QUIT

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List