C translator for calculator project
|
05-06-2019, 12:37 PM
Post: #3
|
|||
|
|||
RE: C translator for calculator project
A good place to start might be the shunting yard algorithm or something similar. You can convert algebraic notation to a stack based format that matches what your calculator uses internally. Out of curiosity, why C? I think a lot of calculators use a BASIC-like language so you don't have to worry about types and usually don't need pointers. It's probably not the case that you would write a lot of lower level code in the on board language, right?
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)