Post Reply 
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?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
C translator for calculator project - Dan - 05-06-2019, 05:18 AM
RE: C translator for calculator project - Druzyek - 05-06-2019 12:37 PM



User(s) browsing this thread: 1 Guest(s)