Learn Croft.
Croft is a small language. The whole reference is 32 short pages, and none of them are about monads.
First steps
Run something
Put a .croft file in a folder and run it. You don't need a croft.toml until you want a second target.
If it prints Hello, World, you are now a Croft programmer. Update your CV.
# the hello world from the home page, as main.croft
$ croft run .
The reference
One page for each part of the language. Read it in order, or skip to the part you need.
The basics
The domain model
Rules and failure
Writing code
- 19Functions
- 20Numbers
- 21Body expressions
- 22Loops
- 23Built-ins
- 24Standard contexts
The outside world
- 25Ports
- 26Repositories
- 27Services
- 28Adapters