Wafl Home

Command Line Interpreter Tutorial

User Interaction

Command line interpreter clWafl supports the user interactions. Function input, of type (String -> String) displays the given string and returns the user input.

Source code:

"Hello "
+ input( "What is your name? " )
+ "!"

Result:

What is your name? Marwin
Hello Marwin!

 

Table of Contents

Let's Start

Program Structure

Primitive Data Types

List

Tuple

Record

HTML

Command Line Interpreter

Using Web Servers

Syntax

Examples

Tips

The most of examples evaluates with both command line and Web server Wafl interpreters. If any example is based on specific features of an interpreter, it is explicitly annotated.