2.2. Syntax

Reserved keywords

assert, Binary, component, do, else, FieldElement, for, function, if, include, input, log, output, public, return, signal, template, var, while.

Comment lines

  • Single comment lines are after // .

  • Multiple comment lines are between / and /.

Identifiers

As an identifier it can be used any non reserved keyword that starts with any number of _ followed by an ASCII alphabetic character and followed by any number of alphabetic or numeric characters, _ or $.