Newer
Older
* COMMENT -*- mode: org -*-
#+Date: 2017-01-26
Time-stamp: <2017-01-26>
#+STARTUP: content
* notes :entry:
* later :entry:
** 2017-01-26 make the whole thing a polymer web component
<rpn-calculator trail="true"></rpn-calculator>
User can also set height and width on the element, which will resize the
elements inside. When there is no room, show a scrollbar.
shadow dom should make all HTML/CSS/Javascript work together without affecting
the parent DOM.
** 2017-01-26 make basic number input and arithmetic work
- DONE make event work.
- TODO add some visual feedback when clicking a button. like in material design.
- design data structure for the calculator.
- add unit test for the data structure and functions.
- make number input and simple calculation work.
** 2017-01-26 make trail persistent
trail is a sized fifo queue, it just store recent 1k entries.
when multiple instances of calculator is working. they all write to a single
trail cache. it's not a problem.
** 2017-01-26 make it work offline, add sw.js
** 2017-01-26 make undo work
** 2017-01-26 make stack auto numbering work
** 2017-01-26 make < (backspace) work.
** 2017-01-26 make basic things work.
- make basic number input and arithmetic work
- make DUP and SWP work
- make trail work
* done :entry:
** 2017-01-26 draw the keyboard using HTML and CSS