Skip to content

Instantly share code, notes, and snippets.

@videlais
Created August 2, 2018 00:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save videlais/169dd808764545ce317b1686968361a7 to your computer and use it in GitHub Desktop.
Save videlais/169dd808764545ce317b1686968361a7 to your computer and use it in GitHub Desktop.
Ink example of "Hello, world!"
/*
Hello World Example
Uses a knot and divert
*/
This is a simple "Hello, world!" example.
// This is a divert
-> hello_world
// This is a knot called "hello_world"
// (Knots cannot have spaces.)
=== hello_world ===
This is a knot. We arrived here via a divert.
This entire project is its flow.
// The flow ends with a divert to the knot END
-> END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment