Website and Docs were moved to https://luna-klatzer.github.io/Kipper. Please refrain from using the old website, as it displays information prior to v0.9.1.

  • Comments

    A comment is a special string, which is ignored by the Parser and has no effect on the compilation of a Program. Comments are best suited for describing functionality and informing the code reader of important info.

    Syntax

    /* CONTENT */

    Examples

    // ✓ Simple comment
    /* Greet the user */
    call print("Hello user!");
    
    // ✓ Function comment
    /**
     * Calculates the sum of all numbers in the list 'val'.
     * @param val The list of numbers.
     * @returns The sum of all numbers
     */
    def sum(val: list<num>) -> num {
      var sum: num = 0;
      for (var i: num = 0; i < call len(val); i++) {
        sum += i;
      }
      return sum;
    }