Update README and comment

This commit is contained in:
Koichi Nakamura 2021-01-10 20:42:25 +09:00
parent 44e0b4f666
commit 226d6d33f3
2 changed files with 6 additions and 0 deletions

View file

@ -81,5 +81,8 @@ $ ./planck < bootstrap.fs example/fib.fs
| < | less | ( a b -- c ) | c = (a < b) |
| u | uless | ( a b -- c ) | c = (a unsigned< b) |
| = | equal | ( a b -- c ) | c = (a == b) |
| { | shl | ( a b -- c ) | c = a << b (logical) |
| } | shr | ( a b -- c ) | c = a >> b (logical) |
| ) | sar | ( a b -- c ) | c = a >> b (arithmetic) |
| v | argv | ( -- a-addr u ) | argv and argc |
| V | impl | ( -- c-addr ) | Implementation String |

View file

@ -56,6 +56,9 @@ l!
\ '<' ( a b -- c ) c = (a < b)
\ 'u' ( a b -- c ) c = (a unsigned< b)
\ '=' ( a b -- c ) c = (a == b)
\ '{' ( a b -- c ) c = a << b (logical)
\ '}' ( a b -- c ) c = a >> b (logical)
\ ')' ( a b -- c ) c = a >> b (arithmetic)
\ 'v' ( -- a-addr u ) argv and argc
\ 'V' ( -- c-addr ) Version text