mirror of
https://github.com/zekexiao/pocketlang.git
synced 2025-02-06 20:50:55 +08:00
30 lines
665 B
Markdown
30 lines
665 B
Markdown
![]() |
|
||
|
<b>
|
||
|
PLEASE NOTE THAT THIS PAGE IS UNDER CONSTRUCTION AND EVERYTHING IS PLACEHOLDER.
|
||
|
</b>
|
||
|
|
||
|
Welcome to the pocketlang documentations, If you haven't installed pocketlang see
|
||
|
[How to Install](Installation.html) reference.
|
||
|
|
||
|
## Hello World
|
||
|
|
||
|
Once you're done installing, lets create the classic Hello World in pocketlang by creating an empty file named `hello.pk`
|
||
|
(Note that pocket lang doesn't enforce the `.pk` extension but it's just a convension).
|
||
|
|
||
|
```ruby
|
||
|
print('Hello World')
|
||
|
```
|
||
|
|
||
|
And run the above script with the following command.
|
||
|
|
||
|
```
|
||
|
$ pocket hello.pk
|
||
|
Hello World
|
||
|
```
|
||
|
|
||
|
## What's Next?
|
||
|
|
||
|
See our examples to make yourself familiar with the pocketlang. (TODO)
|
||
|
|
||
|
|