(*
*) MODULE Test02;(* *) (* Hello World. *) IMPORT Out; BEGIN Out.String("Hello World"); Out.Ln; HALT(1); END Test02. (*
For example, if it is very hard to write your first program for the hello example, that many be an indication that there is a problem with the language or its mapping to the system you are writing to.
The hello functions can be implemented in different ways. The string printing can be: a built in mapping directly to the hardware, or only calls to parts of the operating system libraries, or a compromise of builtins and operating system libraries.
HWEB - a literate-programming tool Hweb supports literate programming---the art of writing programs as documents for human readers. Hweb is a set of tools and methods for using html documents with programming source code. Hweb is a very simple tool, with a great idea behind it. Interleave documentation with html and source code. Hweb comes with an HTML extracter called, htangle. Keywords: literate programming, WEB, hweb The program source embedded in this html document should compile with the oo2c Oberon compiler without any change to the text of this html file. Only the file name needs to be changed: from testx02.html to textx02.Mod Then compiling the program should work.
Go to top