neocalc issueshttps://projects.sucs.org/mpg/neocalc/-/issues2019-10-10T18:34:34Zhttps://projects.sucs.org/mpg/neocalc/-/issues/2Read lisp2019-10-10T18:34:34ZMaxwell Michael GisborneRead lispstack 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...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 filehttps://projects.sucs.org/mpg/neocalc/-/issues/1Left and Right reference stackobjects2019-10-10T15:21:31ZMaxwell Michael GisborneLeft and Right reference stackobjectsconsider 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 N...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 stackobjectsMaxwell Michael GisborneMaxwell Michael Gisborne