Sage-Code Laboratory
index<--

Eve Specification

This page contains a demo example of Eve program. This is how and example should look like in Notepad++ if you have correctly installed Notepad++ UDL for Eve language. Soon this page will be updated.
Notepad++ Style

Eve Notepad++ Demo

** example of collection iteration
routine test():
  List this = ["a","b","c","d","e"];
  Integer i = 0;
  Symbol:  e;
process
  cycle: while i <h this.length() loop
    e := this[i];
    i := i + 1;
    case: when e  >= "c" then
        write e;
        if e is not this.tail then
           write ','
        end if;
    end case;
  then
    write ('i = ' + i);
  end cycle;
  print;
return;

Read next: Page Name