print("Hello, World!")

From Esolang
Jump to navigation Jump to search
Note that print("Hello, World!") is typically lowercased.


A print("Hello, World!") program prints the code for a Hello, World! program in the same language, for example, in Python, it would be print("print(\"Hello, World!\")"). You could take it a step further and do print("print(\"print(\\"Hello, World!\\")\")"), but that would be a print("print(\"Hello, World!\")") program. Note that this changes from programming language to programming language, so the JavaScript print("Hello, World!") program would have to print console.log('Hello, World!');, and brainfuck would have to print ++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++..

Oh, yeah, I'm User:5anz, forgot to mention that. This is actually my first page that's neither an Esolang or my user page, so... idk how to do this.

Implementations

Please add more languages here.

№15‎‎

₢Ⓓ₢Ⓓ₢Ⓓ₢Ⓓ₢Ⓓ₢Ⓓ₢Ⓓ₢Ⓓ₢Ⓓ₢Ⓓ₢Ⓓ₢Ⓓ₢ⒹHello, world!ⒹⒹⒹⒹⒹⒹⒹⒹⒹⒹⒹⒹⒹⒹⒹⒹⒹⒹⒹⒹⒹⒹⒹⒹⒹⒹ

Bash or Batch

echo echo Hello, world!

brainfuck

++++++++[>+++++>+++++++++++>++++++++<<<-]>+++........>+++.>--.<<....>.>.<<..>>.<<...>>.<<...>>.<<.>>--....<<++.>++.>++.<<--.>>.<<.>>.<<++.>>..<<--.>--.>--.<++.>.<<++.>.>++..<<+.>>.<<-...+.---.......+++..---...+++.>>..<<.>>--.<<-.+.>>.<<.---...+++.-......+.-........+.>>++..<<---.+++.>>.<<---..+++.

Befunge

"@_,#:>"75*1-"Hello, World!"75*1->:#,_@

G Sharp

make main;[print("make main;[print(\"Hello World\",\\n)]")]

JavaScript

console.log("console.log(\"Hello, world!\")")

Lua

print'print"Hello, world!"'

Python

print("print(\"Hello, World!\")")

Text

Hello, World!

External resources