Skip to content

Conversation

redraw
Copy link

@redraw redraw commented Sep 19, 2025

Here's a PR to port the RPN calculator alt face by @wryun plus some minor features.

Mixing reverse polish notation and a binary-search number input might be confusing for some but I personally love it. Also, the way it switches to scientific notation on big/small numbers, which I think it is not trivial to achieve by input digits individually. Definitely esoteric, but clever considering we have only two buttons.

  • Fix secondary index missing POP stack operation
  • Add OVER stack operation (a b -- a b a)
  • Refactor main loop into mode handler functions
  • Add a CALC_PEEK mode by long pressing LIGHT button in operation mode, to see the stack
  • Add the stack size at top right inside stack operations only
  • Port deprecated display string methods to support custom LCD display

@redraw redraw marked this pull request as draft September 19, 2025 22:06
@redraw redraw changed the title Draft: Port RPN calculator (alt) face Port RPN calculator (alt) face Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant