Getting Started

Quickstart

Create your first Plain Language program in minutes and run it with the CLI.

Quick checklist

  • Create a .pln file.
  • Run with plain run.
  • Compile to Python if needed.
  • Iterate with the REPL.

1. Create your first file

Start with a small script that prints text, declares a function, and calls it.

hello.pln
print "Hello, World!"

create a function named add_numbers that takes two numbers and returns their sum

print add_numbers(5, 3)

2. Run it with the CLI

The CLI transpiles and executes the file in one command.

terminal
plain run hello.pln

3. Compile to Python

Generate a .py file when you want to inspect or deploy the output.

terminal
plain compile hello.pln

Next steps

Keep going

Jump into the syntax and data type pages to expand your first script into real applications.

Start with syntax