dtb trinity
trinity commented on pull request bonsai/harakit#36 2024-02-02 07:15:44 -07:00
rpn(1)

good stuff

trinity pushed to manpg at bonsai/harakit 2024-02-02 06:23:17 -07:00
2ec04c0564 true(1): fix my copyright dates in man page
a39772d7a1 false(1): fix my copyright dates in man page
Compare 2 commits »
trinity created pull request bonsai/harakit#39 2024-02-01 20:44:41 -07:00
Change man page sections to POSIX [n]p sections where applicable
trinity created branch manpg in bonsai/harakit 2024-02-01 20:42:43 -07:00
trinity pushed to manpg at bonsai/harakit 2024-02-01 20:42:43 -07:00
a90c9b7998 true(1): fix man page POSIX reference
fb929e63f5 strcmp(1): fix man page POSIX reference
791db2ed6d str(1): fix man page POSIX reference
870548b46b npc(1): fix man page POSIX reference
af0c472173 intcmp(1): fix man page POSIX reference
Compare 6 commits »
trinity commented on issue bonsai/harakit#34 2024-02-01 20:21:18 -07:00
Name
  • bark (the part of the tree you can touch)
  • fruit (what you get from the tree)
  • bon
  • broots (bonsai's roots)
  • sticks
trinity commented on pull request bonsai/harakit#36 2024-02-01 17:34:12 -07:00
rpn(1)

I haven't run it on my machine, I just didn't see that it did that.

trinity commented on issue bonsai/harakit#21 2024-02-01 17:32:59 -07:00
rpn(1) - reverse polish notation
  • ^, `
trinity commented on issue bonsai/harakit#21 2024-02-01 17:30:15 -07:00
rpn(1) - reverse polish notation

When writing npc 1 2 * the shell automatically takes the asterisk as a wildard and it must be quoted. Should we do anything about this (i.e. have x be the multiplication operator when…

trinity commented on pull request bonsai/harakit#36 2024-02-01 07:11:48 -07:00
rpn(1)

I would prefer evaluate() only because Python, shell, and Lisp have beaten terror at the sight of the abbreviation into me.

trinity commented on pull request bonsai/harakit#36 2024-02-01 07:11:48 -07:00
rpn(1)

Can we emit argv[0] before printing errors?

trinity commented on pull request bonsai/harakit#36 2024-02-01 07:11:48 -07:00
rpn(1)

Is this just every CalcType besides Val? Is there a better way to write that, e.g. match except Val?

trinity commented on pull request bonsai/harakit#36 2024-02-01 07:11:48 -07:00
rpn(1)

I chipped in my thought on making sure rpn(1) functions like HP and Elektronika calculators when operating and this implementation satisfies me.

trinity commented on pull request bonsai/harakit#36 2024-02-01 07:11:48 -07:00
rpn(1)

What's happening here?

trinity commented on pull request bonsai/harakit#36 2024-02-01 07:11:48 -07:00
rpn(1)

Will this work for non-decimal integers, e.g. 0x10 (16), 0o10 (8), 0b1 (2)?

trinity commented on pull request bonsai/harakit#36 2024-02-01 07:11:48 -07:00
rpn(1)

Can this change be made independent of rpn(1) or is it necessary for rpn(1) in particular?

trinity commented on pull request bonsai/harakit#36 2024-02-01 07:11:48 -07:00
rpn(1)

I'd like to see the bitwise operators and floor division from #21 included but all in all i think this is a good implementation and better than I could have done (or even intended to do).

trinity commented on issue bonsai/harakit#21 2024-02-01 07:09:34 -07:00
rpn(1) - reverse polish notation

Emma is working on this in #36.

trinity commented on issue bonsai/harakit#21 2024-01-30 07:37:00 -07:00
rpn(1) - reverse polish notation

I'm deciding, tentatively, with comments still desired:

  • integer-only; no decimals supported
  • +, - - addition and subtraction
  • *, ** - multiplication and exponentiation (see…
trinity created pull request bonsai/harakit#35 2024-01-29 22:38:53 -07:00
dj(1): fix getopt optstring