Up Next

3.1  Lexical conventions

Lexical conventions for blanks, comments, identifiers, integer literals, floating-point literals, character literals, string literals, prefix and infix symbols are the one of Objective Caml.

Keywords

The following identifiers are keywords.

      let  and   if    then  pre   or   node  done      unless   run   end
      rec  where fun   else  not   open match automaton continue emit
      when fby   merge reset every do   ntil  on        await

The following character sequences are also keywords:

        ->   >     <     =     <>     >=        )     &  ?
        +    -     *     /     ;;     <=        (     .

Up Next