mirror of
https://github.com/nineties/planckforth
synced 2024-12-24 21:58:37 +01:00
Fix a bug of Hello World ... !
This commit is contained in:
parent
32baf5e2d1
commit
6155f08b77
3 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ The hello world program at the beginning looks like this.
|
|||
|
||||
```
|
||||
$ ./planck
|
||||
kHtketkltkltkotk tkWtkotkrtkltkdtk!tk:k0-tQ
|
||||
kHtketkltkltkotk tkWtkotkrtkltkdtk!tk:k0-tk0k0Q
|
||||
```
|
||||
After bootstrapping by `bootstrap.fs`, it looks like this.
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ l!
|
|||
\ The following line is an example program of planckforth
|
||||
\ which prints "Hello World!\n"
|
||||
\ --
|
||||
\ kHtketkltkltkotk tkWtkotkrtkltkdtk!tk:k0-tQ
|
||||
\ kHtketkltkltkotk tkWtkotkrtkltkdtk!tk:k0-tk0k0Q
|
||||
\ --
|
||||
\ This code repeats that 'k' reads a character and 't' prints it.
|
||||
\ Note that ':' (58) minus '0' (48) is '\n' (10).
|
||||
|
|
|
@ -1 +1 @@
|
|||
kHtketkltkltkotk tkWtkotkrtkltkdtk!tk:k0-tQ
|
||||
kHtketkltkltkotk tkWtkotkrtkltkdtk!tk:k0-tk0k0-Q
|
||||
|
|
Loading…
Reference in a new issue