pocketlang/docs/markdown/Reference/Getting-Started.md

30 lines
665 B
Markdown
Raw Normal View History

2022-04-04 11:17:15 +08:00
<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)