Process

In LCA as Code, a process is the primitive building block: a model is, at the end of the day, a collection of processes connected to each other. In order to declare a process called my_first_process, you must type the following:

// Type the two lines below!
process my_first_process {
}

Have you typed it ? Well done! You have declared your first process.

Notice that the word process is colored differently than the rest. This is to let you know that the system has recognized a special word declaring something -- we call this a keyword. You will notice that other keywords will also be colored.

Also notice that the line starting with // is greyed: this is a comment, by and for humans. Our tool will not process your comments, so you can put them anywhere you feel useful, or omit them altogether.