Skip to main content
v1.3.2 — Now with import system

The Orange Cat Language

A clean, expressive programming language with typed variables, functions, and a module system. Run files, explore interactively in the REPL, or scaffold full projects.

Install

Install ocat and ocm via npm and start writing OCat programs

Language guide

Learn variables, functions, imports, and all core language features

CLI reference

Full reference for every command in ocat and ocm

Write your first program

hello.ocat
number count = 3
string message = "Hello, World!"

func greet
  print(message)

greet
Run it instantly:
ocat run hello.ocat

Why OCat?

Simple syntax

Minimal, readable syntax with explicit types and no boilerplate — great for learning and scripting

Two CLI tools

ocat runs and explores your code; ocm manages full projects with scaffolding and configuration

Module system

Split your code across multiple .ocat files and import them with the import keyword

Built-in logging

Configurable logging with levels (DEBUG, INFO, WARNING, ERROR) and interceptors, persisted to disk in project mode

Build docs developers (and LLMs) love