Serving the Quantitative Finance Community

  • 1
  • 3
  • 4
  • 5
  • 6
  • 7
  • 11
 
User avatar
Paul
Posts: 6598
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: 3300
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: 6598
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: 20203
Joined: July 16th, 2004, 7:38 am
Location: 20, 000

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: 64
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: 64
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: 20203
Joined: July 16th, 2004, 7:38 am
Location: 20, 000

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: 20203
Joined: July 16th, 2004, 7:38 am
Location: 20, 000

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: 20203
Joined: July 16th, 2004, 7:38 am
Location: 20, 000

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
tags
Posts: 3159
Joined: February 21st, 2010, 12:58 pm

Re: Hello World in all Languages, post here

July 25th, 2018, 9:58 pm

And the comma for Paul:
,
Thanks snufkin. Please allow me to kindly FW to Cuch
 
User avatar
Cuchulainn
Topic Author
Posts: 20203
Joined: July 16th, 2004, 7:38 am
Location: 20, 000

Re: Hello World in all Languages, post here

July 26th, 2018, 9:06 am

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: 64
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: 64
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!") 
}
 
User avatar
BornToBeTrader
Posts: 4
Joined: November 14th, 2004, 12:23 am
Location: New York

Re: Hello World in all Languages, post here

August 23rd, 2018, 12:15 pm

Python:

print("Hello World!")
 
User avatar
Cuchulainn
Topic Author
Posts: 20203
Joined: July 16th, 2004, 7:38 am
Location: 20, 000

Re: Hello World in all Languages, post here

August 23rd, 2018, 1:51 pm

from distutils.core import setup
from Cython.Build import cythonize

setup(
    ext_modules = cythonize("helloworld.pyx")
)