Things to try in praxis

Instead of writing a long blog post for every feature of praxis, blog posts that never seem to get written, I’ll just show you some lines of code you can type into praxis to achieve some fun things.

Since praxis is constantly changing (the prods are at any rate) I’ll also add a link to the commit of praxis these were tested with. Try the latest one first, but failing that, try the linked historical one.


The following is runnable using the latest version of praxis at the time this blog post was written, which is this version.

With your working directory set to syntax2015continued type the following, followed by Ctrl-Enter to execute it:

loadBuffer("grid.lua")

Then hit F1. Hexagons!

Side note: its called syntax2015continuation because its just my continued playing around after working on the Flight of the Spironaut Syntax Party 2015 entry.


 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s