RIFT docs-lite
Entry point for the RIFT (Rapid Integrated Framework Technology) syntax and first program flow.
conduit main() @
print("Hello, World!")
#Syntax overview
- Blocks use
@and#. - Arrays use
~and!. - Booleans are
yesandno; null isnone.
let profile = @name: "Ada", active: yes#
let values = ~1, 2, 3!
conduit add(a: num, b: num): num @
give a + b
#Core concepts
Declarations (let, mut, const), conduits for functions, make for classes, and check for pattern-driven branch selection.
Common patterns
conduit sum(...numbers) @
mut total = 0
repeat n in numbers @
total += n
#
give total
#Standard library overview
Module syntax supports grab and share patterns, including namespace aliases and selective exports from local or package modules.