mirror of
https://github.com/nineties/planckforth
synced 2024-12-25 21:58:22 +01:00
Merge pull request #23 from nineties/fix_hello_world
Fix a bug of Hello World ... !
This commit is contained in:
commit
ec930cd3a1
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-tk0k0-Q
|
||||
```
|
||||
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-tk0k0-Q
|
||||
\ --
|
||||
\ 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