mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 09:23:52 -05:00
With the upcoming gcc 13 release and its shiny Modula-2 frontend, we are introducing Modula-2 support in Compiler Explorer :) Currently, only the gcc-snapshot build supports modula-2. fixes #4688 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
11 lines
203 B
Modula-2
11 lines
203 B
Modula-2
MODULE PrintHelloWorld;
|
|
|
|
(*This program prints "Hello world!" on the standard output device*)
|
|
|
|
FROM InOut IMPORT WriteString, WriteLn;
|
|
|
|
BEGIN
|
|
WriteString('Hello world!');
|
|
WriteLn;
|
|
END PrintHelloWorld.
|