Elementary Function

Say something :)

Use say("...") to print text to the console.

say("Hello, World!")
  • Supports string interpolation with variable placeholders:

say("Your score is {score}")

Variables are replaced from:

  • Local function scope

  • Then global scope

💬 Comments

Use // to create a single-line comment:

// This is a comment
say("Visible output")
  • Lines starting with // are ignored during execution.

📁 Imports

To reuse functions across files, use the import statement:

import utils
  • This imports code from utils.inf in the same directory or relative path.

  • Only functions and nested imports are parsed from imported files.

  • Each file is imported only once to avoid recursion.

Last updated