Files
avo/examples
Michael McLoughlin 5d3176b111 examples/stadtx: re-fork stadx code
The gofumpt changes made some files *technically* not an exact fork of
the original. I'm OCD about these things.
2019-04-13 22:55:27 -05:00
..
2019-04-13 22:53:13 -05:00
2019-04-13 22:53:13 -05:00
2019-04-13 22:53:13 -05:00
2019-04-13 22:53:13 -05:00
2019-04-13 22:53:13 -05:00
2019-04-13 22:53:13 -05:00
2019-01-22 22:35:01 -08:00

Examples

Simple functions:

  • add: Add two numbers. The "Hello World!" of avo.
  • sum: Sum an array of numbers.

Features:

  • args: Loading function arguments.
  • returns: Building return values.
  • complex: Working with complex{64,128} types.
  • data: Defining DATA sections.
  • ext: Interacting with types from external packages.

"Real" examples: