Merge pull request #23 from nineties/fix_hello_world

Fix a bug of Hello World ... !
This commit is contained in:
Koichi NAKAMURA 2021-12-07 02:34:47 +09:00 committed by GitHub
commit ec930cd3a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@ The hello world program at the beginning looks like this.
```
$ ./planck
kHtketkltkltkotk tkWtkotkrtkltkdtk!tk:k0-tQ
kHtketkltkltkotk tkWtkotkrtkltkdtk!tk:k0-tk0k0-Q
```
After bootstrapping by `bootstrap.fs`, it looks like this.

View file

@ -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-tk0k0-Q
\ --
\ This code repeats that 'k' reads a character and 't' prints it.
\ Note that ':' (58) minus '0' (48) is '\n' (10).

View file

@ -1 +1 @@
kHtketkltkltkotk tkWtkotkrtkltkdtk!tk:k0-tQ
kHtketkltkltkotk tkWtkotkrtkltkdtk!tk:k0-tk0k0-Q