mirror of
https://github.com/nineties/planckforth
synced 2025-01-14 08:01:27 +01:00
Update README and comment
This commit is contained in:
parent
4af8f3786e
commit
354e5ac4b7
2 changed files with 5 additions and 4 deletions
|
@ -30,8 +30,9 @@ After bootstrapping by `bootstrap.fs`, it looks like this.
|
||||||
|
|
||||||
```
|
```
|
||||||
$ ./planck < bootstrap.fs
|
$ ./planck < bootstrap.fs
|
||||||
PlanckForth (implementation: hand-written i386-linux)
|
Welcome to PlanckForth 0.0.1 [i386-linux handwrite]
|
||||||
Ready.
|
Copyright (c) 2021 Koichi Nakamura <koichi@idein.jp>
|
||||||
|
Type 'bye' to exit.
|
||||||
." Hello World!" cr
|
." Hello World!" cr
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -85,4 +86,4 @@ $ ./planck < bootstrap.fs example/fib.fs
|
||||||
| } | shr | ( a b -- c ) | c = a >> b (logical) |
|
| } | shr | ( a b -- c ) | c = a >> b (logical) |
|
||||||
| ) | sar | ( a b -- c ) | c = a >> b (arithmetic) |
|
| ) | sar | ( a b -- c ) | c = a >> b (arithmetic) |
|
||||||
| v | argv | ( -- a-addr u ) | argv and argc |
|
| v | argv | ( -- a-addr u ) | argv and argc |
|
||||||
| V | version | ( -- c-addr ) | Version String |
|
| V | version | ( -- c-addr ) | Runtime infomation stringe |
|
||||||
|
|
|
@ -60,7 +60,7 @@ l!
|
||||||
\ '}' ( a b -- c ) c = a >> b (logical)
|
\ '}' ( a b -- c ) c = a >> b (logical)
|
||||||
\ ')' ( a b -- c ) c = a >> b (arithmetic)
|
\ ')' ( a b -- c ) c = a >> b (arithmetic)
|
||||||
\ 'v' ( -- a-addr u ) argv and argc
|
\ 'v' ( -- a-addr u ) argv and argc
|
||||||
\ 'V' ( -- c-addr ) Version text
|
\ 'V' ( -- c-addr ) Runtime information string
|
||||||
|
|
||||||
\ The 1st stage interpreter repeats execution of k, f and x.
|
\ The 1st stage interpreter repeats execution of k, f and x.
|
||||||
\ There following line is an example program of planckforth
|
\ There following line is an example program of planckforth
|
||||||
|
|
Loading…
Reference in a new issue