|
General Details
|
|
Scheme
|
|
Posted 131 Days Ago
|
|
356 Views
|
|
Received 0 Ratings
|
|
Converting from infix notation to prefix and postfix notation
Description
This program accepts a simple expression in infix notation and converts it to the equvilent prefix and post fix notation.
The input needs to be properly bracketed and spaced for the program to work correctly. That is, this is valid:
( (4 + 5) * (3 + 5) )
while this is wrong:
4+5*3+5.
Not only do you need to space your input, you need to bracket all expressions.
Source Code
Comments
| Please login to post comments. |
|
|
Heh, i know what you mean. I felt the same way when i first looked into lisp.
Keep up the good work. I'm curious when you will release your first chicken-egg
;)
|
|
|
Thanks. That means a lot coming from you. I've been really captivated by Scheme. It's like a whole new world from C++ and Java. I almost regret spending so much time on them. :P
|
|
|
Hi,
you're getting better and better. Nice to see how you get things done.
|
More "Scheme" Source Codes By This Author
Recently Posted "Scheme" Source Codes
Recently Rated "Scheme" Source Codes
|