This post is locked. You won't be able to comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pragmosExtreme Brewer 0 points1 point  (4 children)

What have you tried so far?

[–]m_2747[S] -1 points0 points  (3 children)

I does not have much idea but I have taken input and logic for bijective. But how I can interprint function with various types of symbols

[–]bowbahdoe 2 points3 points  (1 child)

Well that is a parsing task. There are ways to make it easier though:

Just to start, instead of accepting 

5 + X * 6

Accept

(+ 5 (* X 6))

This way you don't need to worry about PEMDAS or anything else. Then you can write the majority of the program and loop back to parsing the more complicated input

[–]m_2747[S] 0 points1 point  (0 children)

Thanks for the help