TalkTalk is a programming language that looks a little like Swift or Rust. It checks your code before it runs, but tries to figure out most types for you.
This manual starts with small programs and works up to TalkTalk's more unusual features. The language is experimental and still changes quickly. Source files use .tlk, and the command-line tool is called talk.
Start here
- Getting Started
- Syntax
- Values and Types
- Bindings and Functions
- Data and Patterns
- Generics and Protocols
- Effects
- Ownership and Memory
- Collections and Text
- Modules and Packages
- Macros
- Concurrency
- Testing
- The Standard Library
- The Toolchain
- Unsafe Code and Interop
Conventions
Code meant for TalkTalk is fenced as tlk; terminal sessions are fenced as sh. Examples usually rely on the core library, which normal source files import automatically. A first line of // no-core disables that import for compiler and core-library work.
The short command reference built into the compiler is also useful:
talk llm