Repository navigation
Tutorials
-
Atomic Integer: Learn how to compile a Waldo file and make calls into Waldo code from non-Waldo code. Things to learn: compiling, public functions, single-endpoint files, non-Waldo to Waldo calls.
-
Ping Pong: Following this example, you'll learn how to setup a basic connection between two sides and exchange messages. Things to learn: sequences, endpoints, public functions.
-
Endpoint global data + onCreate: Following this example, you'll learn how to setup a basic connection in which each side initializes its internal data. Things to learn:
onCreate, endpoint global data. -
Lots of types : Waldo has several basic types (
Numbers,Texts,TrueFalses), templated types (Functions,Maps,Lists), and abstract data types (Structs). In this tutorial, you'll learn a little about the syntax and semantics of each. Things to learn:Structs, type system, replication types,Maps,Lists,Functions. -
Signal and foreign functions : The previous tutorials showed you how to get non-Waldo code to make calls into Waldo code. This example shows you how to make calls from Waldo code into non-Waldo code. Things to learn: foreign functions, signals.
- Three endpoints, no connections : Previous tutorials focused on how to coordinate actions between two endpoints, each on a different host. For some applications, you may want to call methods on endpoints besides the one you're directly connected to (eg., to broadcast a message). This tutorial shows you how to call methods between endpoints on the same host.