Watasu (渡す) Interactive Example

This is an interactive example of what "Watasu" is able to do. Everything here is using the default version of the "Watasu" library and simply visualizes the data that is available.

The instruction set can be found on the right side. Click here.

Context

Position: No position
No context

Tokens

Click to highlight token in editor.

    No tokens

AST

Click "Show" to highlight node in editor.
    No AST

Instructions

  • set(variable: dataReference, value: *)
  • print(...args: *)
  • inc(variable: dataReference)
  • dec(variable: dataReference)
  • not(variable: *)
  • lower(a: *, b: *)
  • greater(a: *, b: *)
  • while(condition: *) { block }
  • if(condition: *) { block }
  • more can be easily added through the API