Skip to content

Mastering Tova

Welcome to the hands-on path to Tova mastery. This isn't a reference manual — it's a guided journey. Each chapter builds on the last, teaches through real problems, and ends with challenges that cement what you've learned.

Who This Is For

You should be comfortable with at least one programming language. You don't need to know JavaScript, though it helps. If you've never programmed before, start with the Getting Started guide first.

How to Use This Tutorial

Work through the chapters in order. Each one introduces concepts that later chapters depend on. Type the code yourself — don't just read it. Every chapter has interactive playground links so you can experiment immediately.

Do the exercises. Reading code is not the same as writing code. The exercises are designed to stretch your understanding just beyond what was taught, which is where real learning happens.

Build the projects. Each chapter includes a hands-on project. The capstone project in Chapter 12 ties the core language together, while later parts apply those skills to real application development.

The Path

Part 1: Foundations

ChapterWhat You'll BuildWhat You'll Learn
1. Thinking in TovaTemperature converterValues, expressions, immutability, control flow, guard clauses, the Tova mindset
2. Functions That ShineMath toolkitAll function forms, closures, recursion, generics, decorators, generators
3. Mastering CollectionsWord frequency counterArrays, objects, maps, tuples, comprehensions, tables, lazy sequences
4. String CraftTemplate engineInterpolation, string methods, text processing, formatting

Part 2: Power Features

ChapterWhat You'll BuildWhat You'll Learn
5. Pattern Matching PowerCommand parserAll pattern types, guards, exhaustiveness, real-world dispatch
6. Designing with TypesShape calculatorCustom types, ADTs, generics, interfaces, traits, impl blocks, type-driven design
7. Fearless Error HandlingFile config parserResult, Option, chaining, composition, recovery strategies
8. Pipes and TransformationsData pipelinePipe operator, functional composition, data transformation

Part 3: Advanced Techniques

ChapterWhat You'll BuildWhat You'll Learn
9. Modules and ArchitectureMulti-file projectImports, exports, project structure, code organization
10. Async ProgrammingParallel fetcherAsync/await, channels, concurrent blocks, select, structured concurrency
11. Performance SecretsNumber cruncher@wasm, @fast, typed arrays, benchmarking, optimization
12. Capstone: Text AnalyzerComplete CLI toolEverything combined into one real, polished project

Part 4: Deeper Mastery

ChapterWhat You'll BuildWhat You'll Learn
13. Functional ProgrammingValidation pipelinecompose, curry, partial, memoize, debounce, throttle, once, negate, flip
14. Standard Library MasteryLog analyzerRegex, date/time, validation, encoding, JSON, URLs, advanced collections, terminal output

Part 5: Building Applications

ChapterWhat You'll BuildWhat You'll Learn
15. I/O and SystemFile processorFile I/O, paths, system commands, environment, scripting
16. TestingTest suiteTest blocks, assertions, Result/Option testing, test organization
17. Server DevelopmentREST APIServer block, routes, middleware, WebSocket, SSE, database
18. JSX and ReactivityTodo appBrowser block, JSX, state, computed, effects, components, stores
19. Full-Stack ApplicationsFull-stack appShared blocks, security, RPC bridge, deployment
20. CLI and Edge ComputingCLI tool & edge workerCLI block, edge block, serverless patterns

Conventions Used

Throughout this tutorial:

  • Bold terms introduce new concepts
  • ::: tip boxes share practical wisdom from experienced Tova developers
  • ::: warning boxes flag common mistakes
  • "Try It" sections are interactive — click to open in the playground
  • "Exercise" sections are for you to solve on your own
  • "Challenge" sections at the end of each chapter push you further

Ready? Let's go. Start Chapter 1 →

Released under the MIT License.