FROM CURIOSITY TO CODE
Your next idea
starts here.
Take the guided route, look up a specific interface, or start with a working example. The documentation is part of the toolkit.
YOUR FIRST COSMIC PROGRAM
Start with Hello, World.
Save this Cosmic program as main.cc. With the SDK set up, compile and run it from the same directory.
i4 main()
greeting := "Hello"
print "${greeting}, World!"
%0
mc-cosmic -o greet main.cc
./greet
Hello, World!
:= Type inference${…} String interpolation%0 Successful exit01 / THE BIG PICTURE
The user’s guide
From your first program to rich values, databases, drawing, networking, and the Cosmic and Microcosm languages.
Open the guide02 / THE DETAILS
SDK reference
Search the headers, classes, methods, and functions. Find behavior, defaults, ownership, and practical limits.
Browse the reference03 / GET SET UP
Using the SDK
Requirements, CMake targets, Mac frameworks, compiler tools, and integrating Catalyst into your project.
Read the SDK instructions04 / MAKE SOMETHING
Your first Catalyst program
Start small, then explore the 33 examples included with the SDK—from collections and databases to graphics and GPU compute.
Write your first program