Skip to content

Instantly share code, notes, and snippets.

@videlais

videlais/hello_world.ink Secret

Created Aug 2, 2018
Embed
What would you like to do?
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
You can’t perform that action at this time.