Poki Nanpa: A Toki Pona programming language

Development blog for Jack Mullin's graduation project.

pana e sona lon lipu; Creating a tutorial on the web page

| 0 comments

It occurred to me that I had given a similar tutorial both to the people who tried out my project in class and my friends who wrote some programs. Having a tutorial like this on the web page is probably the best way to make it easier to start programming in Poki Nanpa.

Using Soweli as a mascot, I wrote some code and a sequence of instructions for implementing a tutorial. Steps of the tutorial are automatically triggered when the web interface detects that the user has completed them.

Clicking on Soweli dismisses or brings up the tutorial. It guides you through how to draw basic shapes and then how to make your own custom functions, before pointing you to the quick reference sheet, another new addition to the page. The quick reference sheet is basically just a really short and simplified version of the specification.

Leave a Reply

Required fields are marked *.