Skip to content

arnobl/comlanDocywood

Repository files navigation

The Kompren tutorials are available on the official web page of the Kompren DSL.

The generated tutorials for Robot are provided as follows:

Defining a ProgramUnit

begin
 end

A ProgramUnit contains the commands for controlling a robot. It is the main class of the language. Type begin.

Type end.

Defining a Move

begin
 	move ( 25 )
 end

It defines a command for moving forward the robot. distance must be defined. The robot moves foward for a given distance in centimeter. The expected format is a double value. Type move (.

Then, give the value, here: 25 .

Type ).

See also:
Defining a ProgramUnit

Defining a Turn

begin
 	turn ( -100 )
 end

It defines a command for rotating the robot. angle must be defined. The robot rotates following a given rotation angle in degree. The expected format is a double value. Type turn (.

Then, give the value, here: -100 .

Type ).

See also:
Defining a ProgramUnit

About

Companion web page for our COMLAN paper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published