FIDL example: Calculator

This Calculator example shows how to construct a FIDL protocol with bare-minimum functionality. You will build on this example by modifying the methods to potentially return errors, composing a FIDL protocol with another, and showing usage of other primitives.

Getting started

<<_baseline_tutorial.md>>

Improving the design

Each of the following sections explores one potential way that you could iterate on the original design. Rather than building on one another sequentially, each presents an independent way in which the base case presented above may be modified or improved.