Version française English Version Deutsche Fassung


What is olv syntax?

Olv syntax uses 6 commands to describe a recipe process in a sequential order. It can be read without a program.


Explanation of olv syntax: the 6 commands

titre

titre [title of the recipe]

Displays the title of the recipe.

Example :

titre Quiche

debut

debut [container]

Opens a container. Displays the name of the container above a vertical line.

Example :

debut mixing bowl

fin

fin [container]

Closes a container. Stops the vertical line. All containers must be closed.

Example :

fin mixing bowl

ing

ing [ingredient];[container]

Adds an ingredient into a container. Container may be omitted. If omitted, the container taken into account will be the last declared.

Example :

ing soft butter;mixing bowl

act

act [action];[container]

Adds an action to a container. Container may be omitted. If omitted, the container taken into account will be the last declared.

Example :

act mash with a fork;mixing bowl

trans

trans [text];[source container];[destination container]

Draws an arrow showing the transfer of the content of source container to destination container and displays the text above the arrow. Text is optional but the semicolon after the text is mandatory. Source container and destination container are mandatory. If in a following command like an ing or an act container is not specified, destination container will be taken into account.

Examples :

trans scrape with a spatula;mixing bowl;cake pan

trans ;mixing bowl;cake pan




Example (full syntax):

titre Quiche
debut mixing bowl
ing butter 1/2 cup;mixing bowl
ing flour 1.5 cup;mixing bowl
act mash with a fork;mixing bowl
ing water about 1/2 cup;mixing bowl
act mix;mixing bowl
act make a ball;mixing bowl
debut cake pan
trans ;mixing bowl;cake pan
act spread dough;cake pan
act pick with a fork;cake pan
act oven 400°F 20 min;cake pan
debut pan
ing chopped onions 2;pan
act fry;pan
trans ;pan;mixing bowl
ing diced bacon 200 g;pan
act fry;pan
trans ;pan;mixing bowl
fin pan
ing grated cheese 1 cup;mixing bowl
ing eggs 4;mixing bowl
ing herbs;mixing bowl
act mix;mixing bowl
ing milk 1 cup;mixing bowl
act mix
trans ;mixing bowl;cake pan
fin mixing bowl
act oven 400°F 40 min;cake pan
fin cake pan
		

Copy and paste this example into the form as a first start. This will display:

					      Quiche

                   mixing bowl
                        |
                        |<-- butter 1/2 cup                                                        
                        |<-- flour 1.5 cup                                                         
       mash with a fork |                                                  
                        |<-- water about 1/2 cup                                                   
                    mix |                                                  
            make a ball |                                                  
                        |                    cake pan
                        |                        |
                        |----------------------->|                                                 
                        |           spread dough |                         
                        |       pick with a fork |                         
                        |      oven 400°F 20 min |                         
                        |                        |                       pan
                        |                        |                        |
                        |                        |                        |<-- chopped onions 2    
                        |                        |                    fry |
                        |                        |                        |<-- diced bacon 200 g   
                        |                        |                    fry |
			|<------------------------------------------------|
                        |<-- grated cheese 1 cup |                                                 
                        |<-- eggs 4              |                                                 
                        |<-- herbs               |                                                 
                    mix |                        |                         
                        |<-- milk 1 cup          |                                                 
                    mix |                        |                         
                        |----------------------->|                                                 
                               oven 400°F 40 min |                          

Exemple (light syntax):

In this example, containers have been omitted where not necessary.

titre Quiche
debut mixing bowl
ing butter 1/2 cup
ing flour 1.5 cup
act mash with a fork
ing water about 1/2 cup
act mix
act make a ball
debut cake pan
trans ;mixing bowl;cake pan
act spread dough
act pick with a fork
act oven 400°F 20 min
debut pan
ing chopped onions 2
act fry
trans ;pan;mixing bowl
ing diced bacon 200 g;pan
act fry;pan
trans ;pan;mixing bowl
fin pan
ing grated cheese 1 cup
ing eggs 4
ing herbs
act mix
ing milk 1 cup
act mix
trans ;mixing bowl;cake pan
fin mixing bowl
act oven 400°F 40 min
fin cake pan
		

Back to recipe generator