neocalc issues https://projects.sucs.org/mpg/neocalc/-/issues 2019-10-10T18:34:34Z https://projects.sucs.org/mpg/neocalc/-/issues/2 Read lisp 2019-10-10T18:34:34Z Maxwell Michael Gisborne Read lisp stack objects print themselves like lisp S-exspressions this is a nice and compact way of representing calculations. the user sees these S-exspressions, so they should be able to wright them too. Also these exspressions can be written to file, so I need a parser that can load them from file stack objects print themselves like lisp S-exspressions this is a nice and compact way of representing calculations. the user sees these S-exspressions, so they should be able to wright them too. Also these exspressions can be written to file, so I need a parser that can load them from file https://projects.sucs.org/mpg/neocalc/-/issues/1 Left and Right reference stackobjects 2019-10-10T15:21:31Z Maxwell Michael Gisborne Left and Right reference stackobjects consider the problem: ``` a + a + a = 45 b + b + a = 23 c + b + b = 10 c + b + b * a = ? ``` The solution: ``` main > ls 15 | (/ 45 3) 4 | (/ (- 23 15) 2) 2 | (- 10 (* 2 4)) 66 | (+ (* (+ 15 1) 4) 2) ``` would be nice for to have a Number subclass that takes the value of the previouse or next stack item. This requieres stack awear stackobjects consider the problem: ``` a + a + a = 45 b + b + a = 23 c + b + b = 10 c + b + b * a = ? ``` The solution: ``` main > ls 15 | (/ 45 3) 4 | (/ (- 23 15) 2) 2 | (- 10 (* 2 4)) 66 | (+ (* (+ 15 1) 4) 2) ``` would be nice for to have a Number subclass that takes the value of the previouse or next stack item. This requieres stack awear stackobjects Maxwell Michael Gisborne Maxwell Michael Gisborne