SERVING THE QUANTITATIVE FINANCE COMMUNITY

 
User avatar
Paul
Posts: 8452
Joined: July 20th, 2001, 3:28 pm

Re: Hello World in all Languages, post here

April 22nd, 2018, 8:27 am

Can people please use the vocative comma, if that is the intended meaning?
 
User avatar
Traden4Alpha
Posts: 23951
Joined: September 20th, 2002, 8:30 pm

Re: Hello World in all Languages, post here

April 22nd, 2018, 11:43 am

World, hello.
 
User avatar
Paul
Posts: 8452
Joined: July 20th, 2001, 3:28 pm

Re: Hello World in all Languages, post here

April 22nd, 2018, 12:05 pm

Thanks, you.
 
User avatar
Cuchulainn
Topic Author
Posts: 56281
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Hello World in all Languages, post here

April 23rd, 2018, 10:29 am

// HelloWorld.cpp
// C++/CLI

using namespace System;

int main()
{
 Console::WriteLine("Hello World,");
}
 
User avatar
snufkin
Posts: 60
Joined: January 25th, 2017, 9:05 am
Location: Cambridge

Re: Hello World in all Languages, post here

May 9th, 2018, 10:27 pm

I must've missed Scala, but here you are:
object HelloWorld extends App {
  println("Hello World!")
}
 
User avatar
snufkin
Posts: 60
Joined: January 25th, 2017, 9:05 am
Location: Cambridge

Re: Hello World in all Languages, post here

May 9th, 2018, 10:28 pm

And the comma for Paul:

,
 
User avatar
Cuchulainn
Topic Author
Posts: 56281
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Hello World in all Languages, post here

July 24th, 2018, 6:50 pm

In ArnoldC

IT'S SHOWTIME
TALK TO THE HAND "hello world"
YOU HAVE BEEN TERMINATED
 
User avatar
Cuchulainn
Topic Author
Posts: 56281
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Hello World in all Languages, post here

July 24th, 2018, 6:51 pm

LOLCODE

HAI 1.2
  CAN HAS STDIO?
  VISIBLE "HAI WORLD!!!1!"
KTHXBYE

 
User avatar
Cuchulainn
Topic Author
Posts: 56281
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Hello World in all Languages, post here

July 24th, 2018, 6:55 pm

HAI 1.2
CAN HAS STDIO?
PLZ OPEN FILE "LOLCATS.TXT"?
    AWSUM THX
        VISIBLE FILE
    O NOES
        INVISIBLE "ERROR!"
KTHXBYE

 
User avatar
tagoma
Posts: 18233
Joined: February 21st, 2010, 12:58 pm

Re: Hello World in all Languages, post here

July 25th, 2018, 9:58 pm

snufkin wrote:
And the comma for Paul:

,


Thanks snufkin. Please allow me to kindly FW to Cuch
 
User avatar
Cuchulainn
Topic Author
Posts: 56281
Joined: July 16th, 2004, 7:38 am
Location: Amsterdam
Contact:

Re: Hello World in all Languages, post here

July 26th, 2018, 9:06 am

tagoma wrote:
snufkin wrote:
And the comma for Paul:

,


Thanks snufkin. Please allow me to kindly FW to Cuch

The Steering Group on Grammar will contact you in  due course.
 
User avatar
snufkin
Posts: 60
Joined: January 25th, 2017, 9:05 am
Location: Cambridge

Re: Hello World in all Languages, post here

August 2nd, 2018, 10:54 pm

The search plays games with me today. 

Python
print 'Hello world!'


Python 3
print('Hello world!')


Agda (according to https://github.com/agda/agda-system-io/ ... World.agda)
open import System.IO using ( _>>_ ; putStr ; commit )

module System.IO.Examples.HelloWorld where

main = putStr "Hello, World\n" >> commit




Idris
module Main

main : IO ()
main = putStrLn "Hello world"


Coq
Require Import Coq.Lists.List.
Require Import Io.All.
Require Import Io.System.All.
Require Import ListString.All.

Import ListNotations.
Import C.Notations.

(** The classic Hello World program. *)
Definition hello_world (argv : list LString.t) : C.t System.effect unit :=
  System.log (LString.s "Hello world!").
 
User avatar
snufkin
Posts: 60
Joined: January 25th, 2017, 9:05 am
Location: Cambridge

Re: Hello World in all Languages, post here

August 2nd, 2018, 10:56 pm

Kotlin
fun main(args : Array<String>) { 
  println("Hello, world!") 
}
ABOUT WILMOTT

PW by JB

Wilmott.com has been "Serving the Quantitative Finance Community" since 2001. Continued...


JOBS BOARD

JOBS BOARD

Looking for a quant job, risk, algo trading,...? Browse jobs here...