<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Hello World!</title>
</head>
<body>
<h1>Hello World!</h1>
</body>
</html>
<?xml version="1.0" encoding="UTF-8"?>
<text><![CDATA[Hello World]]></text>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="240" height="100" viewBox="0 0 240 100" zoomAndPan="disable">
<title>Hello World</title>
<g>
<text x="10" y="50">Hello World</text>
<animate attributeName="opacity" values="0;1" dur="4s" fill="freeze" begin="0s"/>
</g>
</svg>
body::before {
content: 'Hello World';
}
console.log('Hello World');
class HelloMessage extends React.Component {
render() {
return <div>Hello {this.props.name}</div>;
}
}
ReactDOM.render(
<HelloMessage name="Taylor" />,
document.getElementById('hello-example'),
);
REPORT ZHELLO_WORLD.
START-OF-SELECTION.
WRITE: 'Hello World'.
package
{
import flash.display.Sprite;
import flash.text.TextField;
public class actionscript extends Sprite
{
private var hello:TextField = new TextField();
public function actionscript(){
hello.text = "Hello World";
addChild(hello);
}
}
}
with Text_IO;
procedure Hello_World is
begin
Text_IO.Put_line("Hello World");
end Hello_World;
⎕←'Hello World'
display dialog "Hello World"
void setup() {
Serial.begin(9600);
Serial.println("Hello World");
}
void loop() {
}
MsgBox, Hello World
MsgBox(0, "Message Box", "Hello World")
#!/bin/bash
echo Hello World
#!/bin/sh
echo "Hello World"
10 PRINT "Hello World"
20 END
@echo off
echo Hello World
-[------->+<]>-.-[->+++++<]>++.+++++++..+++.[--->+<]>-----.---[->+++<]>.-[--->+<]>---.+++.------.--------.
#include <stdio.h>
int main() {
printf("Hello World\n");
return 0;
}
class HelloWorld {
static void Main() {
System.Console.WriteLine("Hello World");
}
}
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World\n";
}
// ilasm cil.il
.assembly HelloWorld {}
.method public static void Main() cil managed
{
.entrypoint
.maxstack 1
ldstr "Hello World"
call void [mscorlib]System.Console::WriteLine(string)
ret
}
alert "Hello World"
(println "Hello World")
puts "Hello World"
// Hello World in D
import std.stdio;
void main()
{
writeln("Hello World");
}
main() {
print('Hello World');
}
indexing "Hello World in Eiffel , from http://roesler-ac.de/wolfram/hello.htm#Eiffel"
class HELLO
creation
run
feature
run is
local
io : BASIC_IO;
do
!!io;
io.put_string("Hello World");
io.put_newline
end; -- run
end; -- class HELLO
IO.puts "Defining the function world"
import Html exposing (text)
main =
text "Hello World"
-module(erlang_hw).
-export([start/0]).
start() ->
io:format("Hello World~n").
printfn "Hello World"
USING: io ;
"Hello World" print
program helloworld
print *,'Hello World'
end program helloworld
extends Label
func _ready():
self.text = "Hello World"
draw_text(1, 1, "Hello World");
package main
import "fmt"
func main() {
fmt.Println("Hello World")
}
{
"Hello World"
}
println "Hello World"
%html
%title Hello World
%body
%h1 Hello World
module Main where
main = putStrLn "Hello World"
class HelloWorld {
static function main() {
trace("Hello World");
}
}
procedure main()
write("Hello World");
end
"Hello World\n" print
#!/opt/local/bin/jc
echo 'Hello World'
exit ''
public class Java {
public static void main(String[] args) {
System.out.println("Hello World");
}
}
{ "hello": "world" }
println("Hello World")
package hello
fun main() {
println("Hello World")
}
\documentclass{article}
\begin{document}
Hello World
\end{document}
body::before {
content: 'Hello World!';
}
; LISP
(DEFUN hello ()
(PRINT (LIST 'HELLO 'WORLD))
)
(hello)
;;for emacs elisp
(message "hello,world")
console.log "Hello World"
; llvm-as llvm.ll
; x86 assembly: llc llvm.bc -o llvm.s -march x86
; interpreter: lli llvm.bc
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
@.str = internal constant [12 x i8] c"Hello World\00"
; puts from libc
declare i32 @puts(i8*)
define i32 @main(...) {
call i32 @puts(i8* getelementptr([12 x i8]* @.str, i32 0, i32 0))
ret i32 0
}
HAI
CAN HAS STDIO?
VISIBLE "Hello World"
KTHXBYE
print("Hello World")
# Hello World
disp('Hello World')
proc helloWorld () {
print "Hello World\n";
}
helloWorld;
print 'Hello World'
section .text
global _start ;must be declared for linker (ld)
_start: ;tell linker entry point
xor ebx,ebx ;ebx=0
mov ecx,msg ;address of message to write
lea edx,[ebx+len] ;message length
lea eax,[ebx+4] ;system call number (sys_write)
inc ebx ;file descriptor (stdout)
int 0x80 ;call kernel
xor eax, eax ;set eax=0
inc eax ;system call number (sys_exit)
int 0x80 ;call kernel
section .rodata
msg db 'Hello, world!',0xa ;our string
len equ $ - msg ;length of our string
echo("Hello World")
/*
Build on OS X:
clang -framework Foundation -fobjc-arc objc.m -o objc
Build on Linux with GNUstep:
clang `gnustep-config --objc-flags` `gnustep-config --base-libs` -fobjc-nonfragile-abi -fobjc-arc objc.m -o objc
*/
#import <Foundation/Foundation.h>
int main(void)
{
NSLog(@"Hello World");
}
print_string "Hello World\n"
{Show 'Hello World'}
@main[]
^rem{Will print "Hello World" when run as CGI script}
$hello[Hello World]
$result[$hello]
program HelloWorld(output);
begin
writeln('Hello World');
end.
program ObjectPascalExample;
type
THelloWorld = class
procedure Put;
end;
procedure THelloWorld.Put;
begin
Writeln('Hello World');
end;
var
HelloWorld: THelloWorld;
begin
HelloWorld := THelloWorld.Create;
HelloWorld.Put;
HelloWorld.Free;
end.
#!/usr/local/bin/perl -w
use CGI; # load CGI routines
$q = CGI->new; # create new CGI object
print $q->header, # create the HTTP header
$q->start_html('Hello World'), # start the HTML
$q->h1('Hello World'), # level 1 header
$q->end_html; # end the HTML
# http://perldoc.perl.org/CGI.html
<?php
echo 'Hello World';
begin
dbms_output.put_line('Hello World');
end;
/
'Hello World'
size(128, 128);
background(0);
textAlign(CENTER, CENTER);
fill(255);
text("Hello World", width / 2, height / 2);
helloWorld :-
write('Hello World').
:- helloWorld.
doctype html
html
head
title Hello World
body
h1 Hello World
module Main where
import Debug.Trace
main = trace "Hello World"
If OpenConsole()
PrintN("Hello World")
EndIf
#!/usr/bin/env python
print "Hello World"
"Hello World"
#!/usr/bin/env qore
%exec-class HelloWorld
class HelloWorld
{
constructor()
{
background $.say("Hello World");
}
private say($arg)
{
printf("%s\n", $arg);
}
}
cat("Hello World\n")
#lang racket
"Hello World"
print_string "Hello World"
#!/usr/bin/env ruby
puts "Hello World"
fn main() {
println!("Hello World");
}
%macro putit( string= );
%put &string;
%mend;
%putit(string=Hello World)
body::before
content: "Hello World"
object HelloWorld extends App {
println("Hello World")
}
(display "Hello World") (newline)
#!/bin/sh
echo "Hello World"
Transcript show: 'Hello World'.
pragma solidity ^0.6.4;
contract HelloWorld {
function render () public pure returns (string memory) {
return 'Hello World';
}
}
SELECT ?h WHERE {
VALUES ?h { "Hello World" }
}
SELECT 'Hello World';
body::before
content: "Hello World"
print("Hello World")
puts "Hello World"
console.log('Hello World');
static void main (string[] args)
{
stdout.printf ("Hello World\n");
}
Module HelloWorld
Sub Main()
System.Console.WriteLine("Hello World")
End Sub
End Module
module main;
initial
begin
$display("Hello World");
$finish;
end
endmodule
use std.textio.all;
entity hello_world is
end hello_world;
architecture behaviour of hello_world is
begin
process
begin
write (output, String'("Hello World"));
wait;
end process;
end behaviour;
echo "Hello World"
Module HelloWorld
Sub Main()
MsgBox("Hello World")
End Sub
End Module
Hello World
let $hello := "Hello World"
return $hello
hello: world