Merge git://github.com/leachim6/hello-world
sync with upstream
This commit is contained in:
9
CONTRIBUTING.md
Normal file
9
CONTRIBUTING.md
Normal file
@@ -0,0 +1,9 @@
|
||||
Contributing
|
||||
============
|
||||
|
||||
When adding new "Hello World" programs, please name the file according to the language it was written in, don't abbreviate the language name too much (so use "JavaScript", not "JS") but don't make it TOO long (so use "CSS" not "Cascading Style Sheets". Use hyphens ("-") as word seperators, and only use a single dot (for seperating the filename from the extension). For exmaple, a "Hello World" program in Objective C should be named "Objective-C.m, and the one in HTML should be named HTML.html.
|
||||
|
||||
Use
|
||||
```./genreadme.sh
|
||||
```
|
||||
for updating the list of languages in `README.md` (make sure you are in the repository's root directory when invoking those commands).
|
||||
516
README.md
516
README.md
@@ -3,11 +3,525 @@ Hello, World!
|
||||
|
||||
Hello world in every programming language.
|
||||
|
||||
Inspired by[Helloworldcollection.de](http://helloworldcollection.de/)
|
||||
Inspired by [Helloworldcollection.de](http://helloworldcollection.de/)
|
||||
|
||||
As I watch the collection expand, this project has blown up more than I ever thought possible.
|
||||
Thanks to everyone who continues to contribute, new languages are created every day!
|
||||
|
||||
Make sure to see CONTRIBUTING.md for instructions on contributing to the project!
|
||||
|
||||
Spin-Off project smartly suggested and implemented by @zenware
|
||||
Meet [FizzBuzz](https://github.com/zenware/FizzBuzz) the evolution of [hello-world](https://github.com/leachim6/hello-world)
|
||||
|
||||
### This repository currently contains "Hello World" programs in the following languages:
|
||||
* Assembler Intel
|
||||
* Amos
|
||||
* Assembler 6502appleii
|
||||
* Assembler Nasm Freebsd
|
||||
* Actionscript2
|
||||
* Assembler Z80 Ti83calculator
|
||||
* Aiml
|
||||
* Assembler Mips
|
||||
* Acronym
|
||||
* Amiga E
|
||||
* Algol68
|
||||
* Ante
|
||||
* Aime
|
||||
* Apl
|
||||
* Apc
|
||||
* Assembler Masm Dos
|
||||
* Assembler Tms9900 Ti99 4a
|
||||
* Ash
|
||||
* Aheui
|
||||
* Assembler Fasm Dos
|
||||
* Abap
|
||||
* Alda
|
||||
* Acs
|
||||
* Awk
|
||||
* Autoit
|
||||
* Actionscript3
|
||||
* Acpi
|
||||
* Assembler Z80 Knightos
|
||||
* Assembler Lc 3
|
||||
* Algol60
|
||||
* Acidic
|
||||
* Android
|
||||
* Actionscript
|
||||
* Assembler Vax Ultrix
|
||||
* Arena
|
||||
* Assembler Nasm Linux
|
||||
* Assembler Nasm Linux64
|
||||
* Actionscript Flashmx
|
||||
* Alaguf
|
||||
* Assembler Masm Win64
|
||||
* Algol W
|
||||
* Assembler M68000 Amigaos
|
||||
* Abc
|
||||
* Assembler 6502
|
||||
* Arduino
|
||||
* Angular
|
||||
* Asp
|
||||
* Alore
|
||||
* Arnoldc
|
||||
* Advpl
|
||||
* Aeolbonn
|
||||
* Angelscript
|
||||
* Assembler 6502c64
|
||||
* Assembler Z80 Zxspectrum
|
||||
* Assembler Atari2600
|
||||
* Assembler Masm Win32
|
||||
* Assembler Dcpu16
|
||||
* Antlang
|
||||
* Assembler Mmix
|
||||
* Assembler Tasm Dos
|
||||
* Algae
|
||||
* Autohotkey
|
||||
* Agda
|
||||
* Ada
|
||||
* Assembler 8048 Videopac
|
||||
* Assembler 6809vectrex
|
||||
* Applescript
|
||||
* Argh
|
||||
* Assembler Ibm360
|
||||
* Aeolbonn
|
||||
* Objectstar
|
||||
* Ocaml
|
||||
* Ook
|
||||
* Oberon 2
|
||||
* Objc
|
||||
* Obix
|
||||
* Openlaszlo
|
||||
* Oz
|
||||
* Opa
|
||||
* Objective J
|
||||
* Ooc
|
||||
* Obj
|
||||
* Octave
|
||||
* Orc
|
||||
* Omgrofl
|
||||
* Oraclesql
|
||||
* Oberon
|
||||
* Jsoniq
|
||||
* Java
|
||||
* Julia
|
||||
* Jai
|
||||
* Json
|
||||
* Jsx
|
||||
* Jsf*ck
|
||||
* Jess
|
||||
* Javascript
|
||||
* Jade
|
||||
* Jason
|
||||
* Jasmin
|
||||
* J
|
||||
* Ebuild
|
||||
* Elixir
|
||||
* Eiffel
|
||||
* Eoool
|
||||
* Elixir
|
||||
* Hello Html
|
||||
* Emmental
|
||||
* Emacslisp
|
||||
* Emoticon
|
||||
* Erlang Hw
|
||||
* Emojicode
|
||||
* 4test
|
||||
* 1c Enterprise
|
||||
* 4gl
|
||||
* 4thdimension
|
||||
* 2b
|
||||
* 0815
|
||||
* ~english
|
||||
* Ratfor
|
||||
* Rexx
|
||||
* Rebol
|
||||
* Roco
|
||||
* Reason
|
||||
* R
|
||||
* Roy
|
||||
* React
|
||||
* Radixal
|
||||
* Racket
|
||||
* Rust
|
||||
* Ruby
|
||||
* Recurse
|
||||
* Richtea
|
||||
* Readlink
|
||||
* Restructuredtext
|
||||
* Verbose
|
||||
* V
|
||||
* Visualbasicscript
|
||||
* Vrml
|
||||
* Vms
|
||||
* Visualbasic
|
||||
* Vala
|
||||
* Vi
|
||||
* Verilog
|
||||
* Vimscript
|
||||
* Virgil
|
||||
* Verbosefuck
|
||||
* Vhdl
|
||||
* Vbnet
|
||||
* Verve
|
||||
* Visualfoxpro
|
||||
* Sil
|
||||
* Smil
|
||||
* Supercollider
|
||||
* Swift
|
||||
* Schwift
|
||||
* Sql
|
||||
* Snowman
|
||||
* Spoon
|
||||
* Sendstuff
|
||||
* Scilab
|
||||
* Sal
|
||||
* S Algol
|
||||
* Stanza
|
||||
* Simpl+
|
||||
* Scala
|
||||
* Self
|
||||
* Subleq
|
||||
* Sparql
|
||||
* Stuck
|
||||
* Scheme
|
||||
* Sed
|
||||
* Sml
|
||||
* Soupscript
|
||||
* Svg
|
||||
* Shell
|
||||
* Semicolon
|
||||
* Scratch
|
||||
* Sacred
|
||||
* Streem
|
||||
* Slashes
|
||||
* Simula
|
||||
* Shakespeare
|
||||
* Smalltalk
|
||||
* Squirrel
|
||||
* Shen
|
||||
* Hello
|
||||
* Systemtap
|
||||
* Smali
|
||||
* Sas
|
||||
* Standard Ml
|
||||
* Sather
|
||||
* Clipper
|
||||
* Clean
|
||||
* Crystal
|
||||
* Continuesequation
|
||||
* Cobol
|
||||
* Clisp
|
||||
* Cor
|
||||
* Csharp
|
||||
* Chicken
|
||||
* Coldfusion
|
||||
* Csh
|
||||
* Clojure
|
||||
* Coconut
|
||||
* Cool
|
||||
* C
|
||||
* Centura
|
||||
* Common Lisp
|
||||
* Chapel
|
||||
* Cil
|
||||
* Css
|
||||
* Ceylon
|
||||
* Cat
|
||||
* Clips
|
||||
* Cheddar
|
||||
* Cypherneo4j
|
||||
* Coffeescript
|
||||
* Cgi
|
||||
* Caml
|
||||
* Casio Basic
|
||||
* Clipper
|
||||
* C++
|
||||
* Chef
|
||||
* Cardinal
|
||||
* Hello World
|
||||
* Turing
|
||||
* Tk
|
||||
* Tao Presentations
|
||||
* Tcsh
|
||||
* Tapebagel
|
||||
* Images
|
||||
* Turing
|
||||
* Thp
|
||||
* Tri
|
||||
* Telephone
|
||||
* Trumpscript
|
||||
* Thue
|
||||
* Trollscript
|
||||
* Typescript
|
||||
* Ttcn3
|
||||
* Tsql
|
||||
* Tex
|
||||
* Tibasic
|
||||
* Tcl
|
||||
* Plain Text
|
||||
* Logs
|
||||
* Hooks
|
||||
* Refs
|
||||
* Fetch Head
|
||||
* Orig Head
|
||||
* Description
|
||||
* Packed Refs
|
||||
* Index
|
||||
* Head
|
||||
* Info
|
||||
* Commit Editmsg
|
||||
* Branches
|
||||
* Config
|
||||
* Objects
|
||||
* Io
|
||||
* Incal
|
||||
* Icon
|
||||
* Il
|
||||
* Islisp
|
||||
* Ibm1401
|
||||
* Idl
|
||||
* Ici
|
||||
* Irc
|
||||
* Iscom
|
||||
* Icedcoffeescript
|
||||
* Ioke
|
||||
* Ink
|
||||
* Indec
|
||||
* Inform
|
||||
* Idris
|
||||
* Intercal
|
||||
* Qwerty
|
||||
* Quartzcomposer
|
||||
* Qu
|
||||
* Quakec
|
||||
* Qugord
|
||||
* Qbasic
|
||||
* Qore
|
||||
* Wml
|
||||
* Wheat
|
||||
* Whitespace
|
||||
* Wsh
|
||||
* Whenever
|
||||
* Whirl
|
||||
* Wren
|
||||
* Wolframlanguage
|
||||
* Higher Subleq
|
||||
* Hypertalk
|
||||
* Haskell
|
||||
* Hop
|
||||
* Homespring
|
||||
* Haxe
|
||||
* Hodor
|
||||
* Hex
|
||||
* Hq9+
|
||||
* Hollow
|
||||
* Hy
|
||||
* Hexish
|
||||
* Hack
|
||||
* Html
|
||||
* Xl
|
||||
* Xquery
|
||||
* Xul
|
||||
* Xrf
|
||||
* Xlogo
|
||||
* Xbase++
|
||||
* X D
|
||||
* Xbase
|
||||
* Xml
|
||||
* Xslt
|
||||
* Xpl0
|
||||
* Kiml
|
||||
* Kotlin
|
||||
* Ksh
|
||||
* Kotlin
|
||||
* Kipple
|
||||
* Karel
|
||||
* K
|
||||
* Perl
|
||||
* Polynomial
|
||||
* Plsql
|
||||
* Picat
|
||||
* Postgresql
|
||||
* Hello World
|
||||
* Parenthetic
|
||||
* Please Porige Hot
|
||||
* Perl6
|
||||
* Postscript Page
|
||||
* Pharo
|
||||
* Python3
|
||||
* Pig
|
||||
* Potigol
|
||||
* Purescript
|
||||
* Purebasic
|
||||
* Pbwin
|
||||
* Perseus
|
||||
* Powershell
|
||||
* Posxml
|
||||
* Postscript
|
||||
* Pony
|
||||
* Pizza
|
||||
* Python
|
||||
* Perl
|
||||
* Processing
|
||||
* Pawn
|
||||
* Piet
|
||||
* Prolog
|
||||
* Pb
|
||||
* Pascal
|
||||
* Pit
|
||||
* Php
|
||||
* Pike
|
||||
* Pyret
|
||||
* Pluvo
|
||||
* Node
|
||||
* Nu
|
||||
* Nice
|
||||
* Nxc
|
||||
* Neko
|
||||
* Nemerle
|
||||
* Novice
|
||||
* Nimrod
|
||||
* Newtonscript
|
||||
* Nodejs
|
||||
* Nit
|
||||
* Dtrace
|
||||
* Dna Sharp
|
||||
* Dart
|
||||
* Dis
|
||||
* Dc
|
||||
* Dcl
|
||||
* Dylan
|
||||
* D
|
||||
* Dogescript
|
||||
* Dogo
|
||||
* Dd Dd
|
||||
* Dup
|
||||
* Dos
|
||||
* Dna#
|
||||
* Dyvil
|
||||
* Delphi
|
||||
* Db2
|
||||
* Divzeros
|
||||
* Delphi
|
||||
* Dark
|
||||
* Drive In Window
|
||||
* Ubercode
|
||||
* Ubiquity
|
||||
* Unicomal
|
||||
* Umajin
|
||||
* Unlambda
|
||||
* Lolpython
|
||||
* Llvm
|
||||
* Lolcode
|
||||
* Lola
|
||||
* Linux X86
|
||||
* Logical
|
||||
* Labyrinth
|
||||
* Lazyk
|
||||
* Lisaac
|
||||
* Lsl
|
||||
* Livescript
|
||||
* Leszek
|
||||
* Latex
|
||||
* Lisp
|
||||
* Lua
|
||||
* Logo
|
||||
* Limbo
|
||||
* Lnusp
|
||||
* Blc
|
||||
* Beta
|
||||
* Beatnik
|
||||
* Burlesque
|
||||
* Boo
|
||||
* Bitbitjump
|
||||
* Brainf Ck
|
||||
* B
|
||||
* Brainloller
|
||||
* Bennugd
|
||||
* Bash
|
||||
* Batsh
|
||||
* Basic
|
||||
* Bcpl
|
||||
* Bit
|
||||
* Battlestar
|
||||
* Brzrk
|
||||
* Befunge
|
||||
* Blitz3d
|
||||
* Brainf Ck 2d
|
||||
* Blub
|
||||
* Byter
|
||||
* Batch
|
||||
* Broccoli
|
||||
* Zimbu
|
||||
* Zombie
|
||||
* Zsh
|
||||
* Zim
|
||||
* Zonnon
|
||||
* Zbd
|
||||
* Zepto
|
||||
* Zetaplex
|
||||
* Yolang
|
||||
* Y
|
||||
* Yaml
|
||||
* M4
|
||||
* Mercury
|
||||
* Matlab
|
||||
* Moonscript
|
||||
* Modula 3
|
||||
* Modula 2
|
||||
* Mathematica Online
|
||||
* Move
|
||||
* Morsecode
|
||||
* Maxscript
|
||||
* Meq
|
||||
* Mumps
|
||||
* Mouse
|
||||
* Macsyma
|
||||
* Mel
|
||||
* Mozart
|
||||
* Mongo
|
||||
* Malbolge
|
||||
* Mysql
|
||||
* Mushcode
|
||||
* Muf
|
||||
* Mirc
|
||||
* Mmmm()
|
||||
* Magic
|
||||
* Markdown
|
||||
* Ferite
|
||||
* Fancy
|
||||
* Fortran
|
||||
* Fourier
|
||||
* False
|
||||
* Fsharp
|
||||
* Fish
|
||||
* Focal
|
||||
* Forobj
|
||||
* Forth
|
||||
* Fob
|
||||
* Falcon
|
||||
* Fortran77
|
||||
* Fjoelnir
|
||||
* Factor
|
||||
* Fortob
|
||||
* Fog
|
||||
* Foo
|
||||
* Fantom
|
||||
* Gosu
|
||||
* Green Marl
|
||||
* Golfscript
|
||||
* Gosu
|
||||
* Glass
|
||||
* Googleappscript
|
||||
* Grin
|
||||
* Gri
|
||||
* Gammaplex
|
||||
* Geojson
|
||||
* Golo
|
||||
* Gibberish
|
||||
* Go
|
||||
* Groovy
|
||||
* Gentzen
|
||||
* Gasoil
|
||||
* Gridscript
|
||||
* Gecho
|
||||
|
||||
14
README_nolist.md
Normal file
14
README_nolist.md
Normal file
@@ -0,0 +1,14 @@
|
||||
Hello, World!
|
||||
=============
|
||||
|
||||
Hello world in every programming language.
|
||||
|
||||
Inspired by [Helloworldcollection.de](http://helloworldcollection.de/)
|
||||
|
||||
As I watch the collection expand, this project has blown up more than I ever thought possible.
|
||||
Thanks to everyone who continues to contribute, new languages are created every day!
|
||||
|
||||
Make sure to see CONTRIBUTING.md for instructions on contributing to the project!
|
||||
|
||||
Spin-Off project smartly suggested and implemented by @zenware
|
||||
Meet [FizzBuzz](https://github.com/zenware/FizzBuzz) the evolution of [hello-world](https://github.com/leachim6/hello-world)
|
||||
1
a/AntLang.ant
Normal file
1
a/AntLang.ant
Normal file
@@ -0,0 +1 @@
|
||||
"Hello World"
|
||||
6
a/aiml.aiml
Normal file
6
a/aiml.aiml
Normal file
@@ -0,0 +1,6 @@
|
||||
<aiml>
|
||||
<category>
|
||||
<pattern>*</pattern>
|
||||
<template>Hello World!</template>
|
||||
</category>
|
||||
</aiml>
|
||||
@@ -1,11 +1,4 @@
|
||||
|
||||
void setup()
|
||||
{
|
||||
void setup(){
|
||||
Serial.begin(9600);
|
||||
Serial.println("Hello world!");
|
||||
}
|
||||
|
||||
void loop()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
50
a/assembler_8048_videopac.asm
Normal file
50
a/assembler_8048_videopac.asm
Normal file
@@ -0,0 +1,50 @@
|
||||
|
||||
; Hello World for Philips Videopac (Magnavox Odyssey 2)
|
||||
; by Frog ( https://github.com/petersobolev )
|
||||
; 25 July 2016
|
||||
|
||||
cpu 8048
|
||||
org 400h
|
||||
|
||||
; interrupt vectors
|
||||
jmp 02C3h ; selectgame (RESET)
|
||||
jmp 0009h ; irq
|
||||
jmp timer ; timer
|
||||
jmp 001Ah ; vsyncirq
|
||||
jmp start ; after selectgame
|
||||
jmp 0044h ; soundirq
|
||||
|
||||
timer:
|
||||
ret ; no timer needed
|
||||
|
||||
|
||||
start:
|
||||
|
||||
call 011Ch ; gfxoff
|
||||
|
||||
mov r0,#010h ; pointer in VDC - which char to display (one of 12)
|
||||
mov r3,#40 ; x
|
||||
mov r4,#100 ; y
|
||||
mov r1,#hellostr & 0ffh ; string to print (should be on same 255 bytes page)
|
||||
|
||||
mov r2,#11 ; string length
|
||||
|
||||
nextchar:
|
||||
mov a,r1
|
||||
movp a,@a ; get char located at @r1
|
||||
mov r5,a
|
||||
inc r1 ; inc addr of char
|
||||
mov r6,#0eh ; white color
|
||||
call 03EAh ; printchar bios subroutine (increases r0, r3)
|
||||
djnz r2,nextchar
|
||||
|
||||
call 0127h ; gfxon (show what is written to VDC)
|
||||
|
||||
|
||||
loop:
|
||||
jmp loop ; just wait and do nothing
|
||||
|
||||
; 'HELLO WORLD' (ascii not supported by assembler)
|
||||
hellostr:
|
||||
db 01dh, 012h, 00eh, 00eh, 017h, 00ch, 011h, 017h, 013h, 00eh, 01ah
|
||||
|
||||
35
a/assembler_masm_win32.asm
Normal file
35
a/assembler_masm_win32.asm
Normal file
@@ -0,0 +1,35 @@
|
||||
; ---------------------------------------------
|
||||
; Hello World for Win32 Intel x86 Assembly
|
||||
;
|
||||
; by fruel (https://github.com/fruel)
|
||||
; 13 June 2016
|
||||
; ---------------------------------------------
|
||||
|
||||
.386
|
||||
.model flat,stdcall
|
||||
.stack 4096
|
||||
|
||||
EXTRN ExitProcess@4 : PROC
|
||||
EXTRN GetStdHandle@4 : PROC
|
||||
EXTRN WriteConsoleA@20 : PROC
|
||||
|
||||
.data
|
||||
msg BYTE "Hello World!",0
|
||||
bytesWritten DWORD ?
|
||||
|
||||
.code
|
||||
main PROC
|
||||
push -11 ; nStdHandle (STD_OUTPUT_HANDLE)
|
||||
call GetStdHandle@4
|
||||
|
||||
push 0 ; lpReserved
|
||||
push OFFSET bytesWritten ; lpNumberOfCharsWritten
|
||||
push LENGTHOF msg - 1 ; nNumberOfCharsToWrite
|
||||
push OFFSET msg ; *lpBuffer
|
||||
push eax ; hConsoleOutput
|
||||
call WriteConsoleA@20
|
||||
|
||||
push 0 ; uExitCode
|
||||
call ExitProcess@4
|
||||
main ENDP
|
||||
END main
|
||||
33
a/assembler_masm_win64.asm
Normal file
33
a/assembler_masm_win64.asm
Normal file
@@ -0,0 +1,33 @@
|
||||
; ---------------------------------------------
|
||||
; Hello World for Win64 Intel x64 Assembly
|
||||
;
|
||||
; by fruel (https://github.com/fruel)
|
||||
; 13 June 2016
|
||||
; ---------------------------------------------
|
||||
|
||||
GetStdHandle PROTO
|
||||
ExitProcess PROTO
|
||||
WriteConsoleA PROTO
|
||||
|
||||
.data
|
||||
msg BYTE "Hello World!",0
|
||||
bytesWritten DWORD ?
|
||||
|
||||
.code
|
||||
main PROC
|
||||
sub rsp, 5 * 8 ; reserve shadow space
|
||||
|
||||
mov rcx, -11 ; nStdHandle (STD_OUTPUT_HANDLE)
|
||||
call GetStdHandle
|
||||
|
||||
mov rcx, rax ; hConsoleOutput
|
||||
lea rdx, msg ; *lpBuffer
|
||||
mov r8, LENGTHOF msg - 1 ; nNumberOfCharsToWrite
|
||||
lea r9, bytesWritten ; lpNumberOfCharsWritten
|
||||
mov QWORD PTR [rsp + 4 * SIZEOF QWORD], 0 ; lpReserved
|
||||
call WriteConsoleA
|
||||
|
||||
mov rcx, 0 ; uExitCode
|
||||
call ExitProcess
|
||||
main ENDP
|
||||
END
|
||||
20
a/assembler_tasm_dos.asm
Normal file
20
a/assembler_tasm_dos.asm
Normal file
@@ -0,0 +1,20 @@
|
||||
IDEAL
|
||||
MODEL SMALL
|
||||
STACK 100h
|
||||
|
||||
DATASEG
|
||||
msg db "Hello World!", 0dh, 0ah, "$"
|
||||
|
||||
CODESEG
|
||||
start:
|
||||
mov ax, @data
|
||||
mov ds, ax
|
||||
|
||||
mov dx, offset msg
|
||||
mov ah, 9
|
||||
int 21h
|
||||
|
||||
mov ah, 4ch
|
||||
int 21h
|
||||
|
||||
end start
|
||||
13
a/assembler_vax_ultrix.asm
Normal file
13
a/assembler_vax_ultrix.asm
Normal file
@@ -0,0 +1,13 @@
|
||||
.data
|
||||
hw:
|
||||
.ascii "Hello World!\12"
|
||||
.text
|
||||
.align 1
|
||||
.globl _main
|
||||
_main:
|
||||
.word 0
|
||||
pushl $13
|
||||
pushab hw
|
||||
pushl $1
|
||||
calls $3,_write
|
||||
ret
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Hello World!";
|
||||
echo "Hello World!"
|
||||
|
||||
1
b/batsh.batsh
Normal file
1
b/batsh.batsh
Normal file
@@ -0,0 +1 @@
|
||||
println("Hello world");
|
||||
3
b/battlestar.bts
Executable file
3
b/battlestar.bts
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/bts
|
||||
const hello = "Hello, world!\n"
|
||||
print(hello)
|
||||
4
b/beta.bet
Normal file
4
b/beta.bet
Normal file
@@ -0,0 +1,4 @@
|
||||
ORIGIN '~beta/basiclib/betaenv'
|
||||
-- program: Descriptor --
|
||||
(* Hello World in BETA *)
|
||||
(# do 'Hello World' -> putLine #)
|
||||
@@ -1,8 +1,9 @@
|
||||
#include <iostream>
|
||||
#include <cstdlib>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main()
|
||||
{
|
||||
std::cout << "Hello World" << std::endl;
|
||||
return EXIT_SUCCESS;
|
||||
cout << "Hello World" << endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
2
c/c.c
2
c/c.c
@@ -1,4 +1,4 @@
|
||||
#include<stdio.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
printf("Hello World\n");
|
||||
|
||||
3
c/ceylon.ceylon
Normal file
3
c/ceylon.ceylon
Normal file
@@ -0,0 +1,3 @@
|
||||
shared void hello() {
|
||||
print("Hello, World!");
|
||||
}
|
||||
1
c/chapel.chpl
Normal file
1
c/chapel.chpl
Normal file
@@ -0,0 +1 @@
|
||||
writeln("Hello World");
|
||||
1
c/cheddar.cheddar
Normal file
1
c/cheddar.cheddar
Normal file
@@ -0,0 +1 @@
|
||||
print "Hello, world!"
|
||||
12
c/cobol.cbl
12
c/cobol.cbl
@@ -1,6 +1,6 @@
|
||||
IDENTIFICATION DIVISION.
|
||||
PROGRAM-ID. HELLOWORLD.
|
||||
PROCEDURE DIVISION.
|
||||
MAIN.
|
||||
DISPLAY 'Hello, world.'.
|
||||
STOP RUN.
|
||||
identification division.
|
||||
program-id. cobol.
|
||||
procedure division.
|
||||
main.
|
||||
display 'Hello, world.' end-display.
|
||||
stop run.
|
||||
|
||||
1
c/coconut.coc
Normal file
1
c/coconut.coc
Normal file
@@ -0,0 +1 @@
|
||||
"Hello, world!" |> print
|
||||
4
c/common-lisp.lisp
Normal file
4
c/common-lisp.lisp
Normal file
@@ -0,0 +1,4 @@
|
||||
;; Common Lisp
|
||||
|
||||
(defun hello-world ()
|
||||
(format t "Hello World~%"))
|
||||
1
c/crystal.cr
Normal file
1
c/crystal.cr
Normal file
@@ -0,0 +1 @@
|
||||
puts "Hello, world!"
|
||||
7
c/hello-world.curry
Normal file
7
c/hello-world.curry
Normal file
@@ -0,0 +1,7 @@
|
||||
-- "Hello World" demo for the Tcl/Tk library
|
||||
|
||||
import Tk
|
||||
|
||||
main = runWidget "Hello"
|
||||
(TkCol [] [TkLabel [TkText "Hello world!"],
|
||||
TkButton tkExit [TkText "Stop"]])
|
||||
10
d/dark.dark
10
d/dark.dark
@@ -1,10 +0,0 @@
|
||||
+hello hell
|
||||
hello$twist sign hws
|
||||
hello$twist stalker io
|
||||
io$stalk
|
||||
io$personal
|
||||
hws$scrawl " Hello, world!
|
||||
hws$read
|
||||
io$echo
|
||||
hello$empty
|
||||
hello$apocalypse
|
||||
6
e/emojicode.emojic
Normal file
6
e/emojicode.emojic
Normal file
@@ -0,0 +1,6 @@
|
||||
🐇 🐼 🍇
|
||||
🐇🐖 🏁 ➡️ 🚂 🍇
|
||||
😀 <20>Hello, World🔤
|
||||
🍎 0
|
||||
🍉
|
||||
🍉
|
||||
4
e/hello-html.elm
Normal file
4
e/hello-html.elm
Normal file
@@ -0,0 +1,4 @@
|
||||
import Html exposing (text)
|
||||
|
||||
main =
|
||||
text "Hello, World!"
|
||||
1
f/fancy.fy
Normal file
1
f/fancy.fy
Normal file
@@ -0,0 +1 @@
|
||||
"Hello, world!" println
|
||||
@@ -1 +1 @@
|
||||
: HELLO ." Hello, world!" CR ;
|
||||
.( Hello, world!)
|
||||
|
||||
3
g/Green-Marl.gm
Normal file
3
g/Green-Marl.gm
Normal file
@@ -0,0 +1,3 @@
|
||||
procedure hello_world() {
|
||||
println("Hello World");
|
||||
}
|
||||
1
g/gosu.gosu
Normal file
1
g/gosu.gosu
Normal file
@@ -0,0 +1 @@
|
||||
print("Hello World from Gosu!!")
|
||||
2
genreadme.sh
Executable file
2
genreadme.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
cat README_nolist.md > README.md; echo >> README.md; echo '### This repository currently contains "Hello World" programs in the following languages:' >> README.md; ruby list_langs.rb >> README.md
|
||||
1
h/hodor.hd
Normal file
1
h/hodor.hd
Normal file
@@ -0,0 +1 @@
|
||||
hodor.hod('Hhodor? Hodor!? Hodor!? o, Hooodorrhodor orHodor!? d!');
|
||||
5
i/inform.inform
Normal file
5
i/inform.inform
Normal file
@@ -0,0 +1,5 @@
|
||||
"Hello World" by "I.F. Author"
|
||||
|
||||
The world is a room.
|
||||
|
||||
When play begins, say "Hello, world."
|
||||
1
j/JSF*ck.js
Normal file
1
j/JSF*ck.js
Normal file
File diff suppressed because one or more lines are too long
7
j/jai.jai
Normal file
7
j/jai.jai
Normal file
@@ -0,0 +1,7 @@
|
||||
#import "Print"
|
||||
|
||||
main::(){
|
||||
|
||||
print("hello world!");
|
||||
|
||||
}
|
||||
12
j/jsx.js
12
j/jsx.js
@@ -1,12 +1,8 @@
|
||||
var React = require('react');
|
||||
|
||||
var HelloWorld = React.createClass({
|
||||
displayName: 'HelloWorld',
|
||||
render: function() {
|
||||
return (
|
||||
<span>Hello World</span>
|
||||
);
|
||||
}
|
||||
});
|
||||
var HelloWorld = function() {
|
||||
return <span>Hello World</span>;
|
||||
};
|
||||
HelloWorld.displayName = 'HelloWorld';
|
||||
|
||||
console.log(React.renderToString(<HelloWorld />));
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package hello
|
||||
|
||||
fun main(args : Array<String>) {
|
||||
fun main(args: Array<String>) {
|
||||
println("Hello, world!")
|
||||
}
|
||||
|
||||
15
l/lisaac.li
Normal file
15
l/lisaac.li
Normal file
@@ -0,0 +1,15 @@
|
||||
// Hello World in Lisaac
|
||||
|
||||
Section Header
|
||||
+ name := HELLO_WORLD;
|
||||
|
||||
Section Inherit
|
||||
|
||||
- parent_object:OBJECT := OBJECT;
|
||||
|
||||
Section Public
|
||||
|
||||
- main <-
|
||||
(
|
||||
"Hello world !\n".print;
|
||||
);
|
||||
1
l/lolpython.lol
Normal file
1
l/lolpython.lol
Normal file
@@ -0,0 +1 @@
|
||||
VISIBLE "Hello World"
|
||||
13
list_langs.rb
Normal file
13
list_langs.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
Dir.foreach "." do |odir|
|
||||
next if odir == "." or odir == ".." or not File.directory?(odir)
|
||||
Dir.foreach odir do |dir|
|
||||
next if dir == "." or dir == ".."
|
||||
currdirname = ""
|
||||
dir.split(".")[0].gsub("-", " ").gsub("_", " ").split(" ").each do |str|
|
||||
currdirname << str.capitalize + " "
|
||||
end
|
||||
currdirname.chomp(currdirname[-1])
|
||||
puts "* #{currdirname}"
|
||||
end
|
||||
end
|
||||
|
||||
3
m/mathematica-online.nb
Normal file
3
m/mathematica-online.nb
Normal file
@@ -0,0 +1,3 @@
|
||||
Notebook[{Cell[
|
||||
BoxData[RowBox[{"Print","[","\"Hello World\"","]"}]],"Input",CellID->1]},
|
||||
StyleDefinitions->"Default.nb",FrontEndVersion->"10.0 for Wolfram Cloud Platform (June 2 2014)"]
|
||||
7
m/maxscript.ms
Normal file
7
m/maxscript.ms
Normal file
@@ -0,0 +1,7 @@
|
||||
print "Hello, world!"
|
||||
-- "Hello, world!"
|
||||
|
||||
|
||||
-- Note that MAXScript is expression-based, so simply writing "Hello, world!" is
|
||||
-- sufficient to echo it for the reader. Like Haskell, all MAXScript expressions
|
||||
-- *must* return values, even if they're unused.
|
||||
1
n/neko.neko
Normal file
1
n/neko.neko
Normal file
@@ -0,0 +1 @@
|
||||
$print("hello world\n");
|
||||
3
n/nodejs.js
Normal file
3
n/nodejs.js
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
process.stdout.write('Hello World\n');
|
||||
4
p/hello_world.pl1
Normal file
4
p/hello_world.pl1
Normal file
@@ -0,0 +1,4 @@
|
||||
World: Procedure options(main);
|
||||
Put List( 'Hello world' );
|
||||
|
||||
End World;
|
||||
9
p/perl.cgi
Normal file
9
p/perl.cgi
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/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
|
||||
1
p/pharo.st
Normal file
1
p/pharo.st
Normal file
@@ -0,0 +1 @@
|
||||
'Hello World' crLog
|
||||
1
p/posxml.posxml
Normal file
1
p/posxml.posxml
Normal file
@@ -0,0 +1 @@
|
||||
<display line="0" column="0" message="Hello World" />
|
||||
4
p/processing.pde
Normal file
4
p/processing.pde
Normal file
@@ -0,0 +1,4 @@
|
||||
size(128, 128);
|
||||
background(0);
|
||||
textAlign(CENTER, CENTER);
|
||||
text("Hello World", width / 2, height / 2);
|
||||
1
p/pyret.arr
Normal file
1
p/pyret.arr
Normal file
@@ -0,0 +1 @@
|
||||
print('Hello, World!')
|
||||
2
q/Qbasic.bas
Normal file
2
q/Qbasic.bas
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
PRINT "hello world"
|
||||
233
q/QuartzComposer.qtz
Normal file
233
q/QuartzComposer.qtz
Normal file
@@ -0,0 +1,233 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>editorViewerWindow</key>
|
||||
<string>202 156 512 430 0 0 1280 777 </string>
|
||||
<key>frameworkVersion</key>
|
||||
<string>334</string>
|
||||
<key>rootPatch</key>
|
||||
<dict>
|
||||
<key>class</key>
|
||||
<string>QCPatch</string>
|
||||
<key>state</key>
|
||||
<dict>
|
||||
<key>connections</key>
|
||||
<dict>
|
||||
<key>connection_1</key>
|
||||
<dict>
|
||||
<key>destinationNode</key>
|
||||
<string>Billboard_1</string>
|
||||
<key>destinationPort</key>
|
||||
<string>inputImage</string>
|
||||
<key>sourceNode</key>
|
||||
<string>TextImage_1</string>
|
||||
<key>sourcePort</key>
|
||||
<string>outputImage</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>nodes</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>class</key>
|
||||
<string>QCTextImage</string>
|
||||
<key>key</key>
|
||||
<string>TextImage_1</string>
|
||||
<key>state</key>
|
||||
<dict>
|
||||
<key>customInputPortStates</key>
|
||||
<dict>
|
||||
<key>inputGlyphSize</key>
|
||||
<dict>
|
||||
<key>value</key>
|
||||
<real>1.0</real>
|
||||
</dict>
|
||||
<key>inputHeight</key>
|
||||
<dict>
|
||||
<key>value</key>
|
||||
<real>0.0</real>
|
||||
</dict>
|
||||
<key>inputKerning</key>
|
||||
<dict>
|
||||
<key>value</key>
|
||||
<real>0.0</real>
|
||||
</dict>
|
||||
<key>inputLeading</key>
|
||||
<dict>
|
||||
<key>value</key>
|
||||
<real>0.0</real>
|
||||
</dict>
|
||||
<key>inputWidth</key>
|
||||
<dict>
|
||||
<key>value</key>
|
||||
<real>0.0</real>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>fontName</key>
|
||||
<string>LucidaGrande</string>
|
||||
<key>fontSize</key>
|
||||
<real>1.0</real>
|
||||
<key>horizontalAlignment</key>
|
||||
<string>Centered</string>
|
||||
<key>ivarInputPortStates</key>
|
||||
<dict>
|
||||
<key>inputFontName</key>
|
||||
<dict>
|
||||
<key>value</key>
|
||||
<string>LucidaGrande</string>
|
||||
</dict>
|
||||
<key>inputGlyphSize</key>
|
||||
<dict>
|
||||
<key>value</key>
|
||||
<real>1.0</real>
|
||||
</dict>
|
||||
<key>inputHeight</key>
|
||||
<dict>
|
||||
<key>value</key>
|
||||
<real>0.0</real>
|
||||
</dict>
|
||||
<key>inputKerning</key>
|
||||
<dict>
|
||||
<key>value</key>
|
||||
<real>0.0</real>
|
||||
</dict>
|
||||
<key>inputLeading</key>
|
||||
<dict>
|
||||
<key>value</key>
|
||||
<real>0.0</real>
|
||||
</dict>
|
||||
<key>inputString</key>
|
||||
<dict>
|
||||
<key>value</key>
|
||||
<string>Hello World!</string>
|
||||
</dict>
|
||||
<key>inputWidth</key>
|
||||
<dict>
|
||||
<key>value</key>
|
||||
<real>0.0</real>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>manualLayout</key>
|
||||
<false/>
|
||||
<key>userInfo</key>
|
||||
<data>
|
||||
BAtzdHJlYW10eXBlZIHoA4QBQISE
|
||||
hBNOU011dGFibGVEaWN0aW9uYXJ5
|
||||
AISEDE5TRGljdGlvbmFyeQCEhAhO
|
||||
U09iamVjdACFhAFpAZKEhIQITlNT
|
||||
dHJpbmcBlYQBKwhwb3NpdGlvboaS
|
||||
hISEB05TVmFsdWUAlYQBKoSEDHtD
|
||||
R1BvaW50PWRkfZuBHwKBuQCGhg==
|
||||
</data>
|
||||
<key>version</key>
|
||||
<integer>2</integer>
|
||||
<key>verticalAlignment</key>
|
||||
<string>Centered</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>class</key>
|
||||
<string>QCBillboard</string>
|
||||
<key>key</key>
|
||||
<string>Billboard_1</string>
|
||||
<key>state</key>
|
||||
<dict>
|
||||
<key>CIRendering</key>
|
||||
<false/>
|
||||
<key>customInputPortStates</key>
|
||||
<dict>
|
||||
<key>inputScale</key>
|
||||
<dict>
|
||||
<key>value</key>
|
||||
<real>1.0</real>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>ivarInputPortStates</key>
|
||||
<dict>
|
||||
<key>inputBlending</key>
|
||||
<dict>
|
||||
<key>value</key>
|
||||
<integer>1</integer>
|
||||
</dict>
|
||||
<key>inputColor</key>
|
||||
<dict>
|
||||
<key>value</key>
|
||||
<dict>
|
||||
<key>alpha</key>
|
||||
<real>1.0</real>
|
||||
<key>blue</key>
|
||||
<real>0.0</real>
|
||||
<key>green</key>
|
||||
<real>0.0</real>
|
||||
<key>red</key>
|
||||
<real>0.0</real>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>inputPixelAligned</key>
|
||||
<dict>
|
||||
<key>value</key>
|
||||
<real>0.0</real>
|
||||
</dict>
|
||||
<key>inputRotation</key>
|
||||
<dict>
|
||||
<key>value</key>
|
||||
<real>0.0</real>
|
||||
</dict>
|
||||
<key>inputScale</key>
|
||||
<dict>
|
||||
<key>value</key>
|
||||
<real>1.0</real>
|
||||
</dict>
|
||||
<key>inputX</key>
|
||||
<dict>
|
||||
<key>value</key>
|
||||
<real>0.0</real>
|
||||
</dict>
|
||||
<key>inputY</key>
|
||||
<dict>
|
||||
<key>value</key>
|
||||
<real>0.0</real>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>optimizedRendering</key>
|
||||
<false/>
|
||||
<key>pixelAligned</key>
|
||||
<real>0.0</real>
|
||||
<key>sizeMode</key>
|
||||
<string>autoHeight</string>
|
||||
<key>systemInputPortStates</key>
|
||||
<dict>
|
||||
<key>_enable</key>
|
||||
<dict>
|
||||
<key>value</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>userInfo</key>
|
||||
<data>
|
||||
BAtzdHJlYW10eXBlZIHoA4QBQISE
|
||||
hBNOU011dGFibGVEaWN0aW9uYXJ5
|
||||
AISEDE5TRGljdGlvbmFyeQCEhAhO
|
||||
U09iamVjdACFhAFpAZKEhIQITlNT
|
||||
dHJpbmcBlYQBKwhwb3NpdGlvboaS
|
||||
hISEB05TVmFsdWUAlYQBKoSEDHtD
|
||||
R1BvaW50PWRkfZuB+gKBuQCGhg==
|
||||
</data>
|
||||
<key>version</key>
|
||||
<integer>4</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
</array>
|
||||
<key>userInfo</key>
|
||||
<data>
|
||||
BAtzdHJlYW10eXBlZIHoA4QBQISEhBNOU011dGFibGVEaWN0aW9u
|
||||
YXJ5AISEDE5TRGljdGlvbmFyeQCEhAhOU09iamVjdACFhAFpA5KE
|
||||
hIQITlNTdHJpbmcBlYQBKwp6b29tRmFjdG9yhpKEhIQITlNOdW1i
|
||||
ZXIAhIQHTlNWYWx1ZQCVhAEqhIQBZpwBhpKEl5gJc2Nyb2xsaW5n
|
||||
hpKEmpuEhAx7Q0dQb2ludD1kZH2dgwAAAAAATIBAgUYBhpKEl5gI
|
||||
cG9zaXRpb26GkoSam56dAAWGhg==
|
||||
</data>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
1
r/reason.re
Normal file
1
r/reason.re
Normal file
@@ -0,0 +1 @@
|
||||
print_string "hello, world"
|
||||
1
s/hello.st
Normal file
1
s/hello.st
Normal file
@@ -0,0 +1 @@
|
||||
'Hello World' printNl !
|
||||
1
s/sacred.sacred
Normal file
1
s/sacred.sacred
Normal file
@@ -0,0 +1 @@
|
||||
)( )( (( )( (( (( () ( () ( (( () )) )( )( )( )) )( )) )( )) )( (( (( (( ) )) ) (( (( )( )( ((( (( () () () () () () ((( (( (( )( ((( ((( (( (( ((( (( () ((( )) )) ((( )) )) ((( (( (( (( ((( () () () ((( )) )) ((( )) )) )( ((( (( (( (( () (((
|
||||
1
s/schwift.y
Normal file
1
s/schwift.y
Normal file
@@ -0,0 +1 @@
|
||||
show me what you got "Hello World"
|
||||
1
s/self.self
Normal file
1
s/self.self
Normal file
@@ -0,0 +1 @@
|
||||
'Hello World!' printLine
|
||||
1
s/shen.shen
Normal file
1
s/shen.shen
Normal file
@@ -0,0 +1 @@
|
||||
(pr "hello world")
|
||||
5
s/simpl+.usp
Normal file
5
s/simpl+.usp
Normal file
@@ -0,0 +1,5 @@
|
||||
// Hello World in Crestron's SIMPL+
|
||||
Function Main
|
||||
{
|
||||
Print("Hello World!\n");
|
||||
}
|
||||
3
s/sparql.sparql
Normal file
3
s/sparql.sparql
Normal file
@@ -0,0 +1,3 @@
|
||||
SELECT ?h WHERE {
|
||||
VALUES ?h { "Hello World!" }
|
||||
}
|
||||
@@ -1,4 +1 @@
|
||||
CREATE TABLE HELLO (HELLO CHAR(12))
|
||||
UPDATE HELLO
|
||||
SET HELLO = 'HELLO WORLD!'
|
||||
SELECT * FROM HELLO
|
||||
SELECT "Hello World";
|
||||
|
||||
2
s/stanza.stanza
Normal file
2
s/stanza.stanza
Normal file
@@ -0,0 +1,2 @@
|
||||
println("Hello World")
|
||||
|
||||
1
s/streem.strm
Normal file
1
s/streem.strm
Normal file
@@ -0,0 +1 @@
|
||||
["hello, world"] | stdout
|
||||
1
s/systemtap.stp
Normal file
1
s/systemtap.stp
Normal file
@@ -0,0 +1 @@
|
||||
probe oneshot { println("Hello, world") }
|
||||
1
t/typescript.ts
Normal file
1
t/typescript.ts
Normal file
@@ -0,0 +1 @@
|
||||
console.log("Hello, World!");
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
public function Main()
|
||||
code
|
||||
call Msgbox("Hello", "My first program", "OK")
|
||||
call Msgbox("Hello World!", "My first program", "OK")
|
||||
end function
|
||||
|
||||
end class
|
||||
|
||||
160
v/verbosefuck.vbfk
Normal file
160
v/verbosefuck.vbfk
Normal file
@@ -0,0 +1,160 @@
|
||||
~!comment!~VerboseFuck, a BrainFuck derivative focussing on verbosity. see more at <http://esolangs.org/wiki/VerboseFuck>~!uncomment!~
|
||||
program.initialize();
|
||||
math.equation(program.errors.handler.activated = boolean(false));
|
||||
program.console.standardinput.openstream();
|
||||
program.console.standardoutput.openstream();
|
||||
define(defines.variable, variable(pointer));
|
||||
implanttype(pointer, types.pointer(to:types.byte));
|
||||
math.equation(pointer = void(0));
|
||||
program.memory.allocate(pointer, void(math.infinity), program.memory.memorytype.bidirectional);
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
define(defines.label, defines.label.createnew());
|
||||
conditional(block.if, boolean.inequality(deref(pointer), byte(0))) {
|
||||
math.equation(pointer = pointer + void(1));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(pointer = pointer + void(1));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(pointer = pointer + void(1));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(pointer = pointer + void(1));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(pointer = pointer - void(1));
|
||||
math.equation(pointer = pointer - void(1));
|
||||
math.equation(pointer = pointer - void(1));
|
||||
math.equation(pointer = pointer - void(1));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
};
|
||||
conditional(block.if, boolean.inequality(deref(pointer), byte(0))) {
|
||||
program.flow.labeledjump(defines.label.last());
|
||||
};
|
||||
undefine(defines.label, defines.label.last());
|
||||
math.equation(pointer = pointer + void(1));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
math.equation(pointer = pointer + void(1));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
math.equation(pointer = pointer + void(1));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
math.equation(pointer = pointer - void(1));
|
||||
math.equation(pointer = pointer - void(1));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(pointer = pointer + void(1));
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
math.equation(deref(pointer) = (deref(pointer) - byte(1)):binaryand:byte(255));
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
math.equation(pointer = pointer + void(1));
|
||||
math.equation(deref(pointer) = (deref(pointer) + byte(1)):binaryand:byte(255));
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
math.equation(pointer = pointer + void(1));
|
||||
program.console.standardoutput.stream.writeunbufferedchars(array.create(1, conversion.changedatatype(deref(pointer), types.character, conversion.method.binary)), 0, 1);
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
program.memory.deallocate(pointer, void(math.infinity), program.memory.memorytype.bidirectional);
|
||||
undefine(defines.variable, variable(pointer));
|
||||
program.console.standardoutput.closestream();
|
||||
program.console.standardinput.closestream();
|
||||
program.terminate();
|
||||
~!comment!~MANDATORY~!uncomment!~
|
||||
1
v/verve.vrv
Normal file
1
v/verve.vrv
Normal file
@@ -0,0 +1 @@
|
||||
print("Hello World")
|
||||
17
v/visualfoxpro.prg
Normal file
17
v/visualfoxpro.prg
Normal file
@@ -0,0 +1,17 @@
|
||||
* Message Box:
|
||||
MESSAGEBOX("Hello World")
|
||||
|
||||
* Print to screen:
|
||||
? "Hello World"
|
||||
|
||||
* GUI:
|
||||
loForm = CREATEOBJECT("HiForm")
|
||||
loForm.Show(1)
|
||||
|
||||
DEFINE CLASS HiForm AS Form
|
||||
AutoCenter = .T.
|
||||
Caption = "Hello, World"
|
||||
|
||||
ADD OBJECT lblHi as Label ;
|
||||
WITH Caption = "Hello, World!"
|
||||
ENDDEFINE
|
||||
@@ -1,3 +0,0 @@
|
||||
HAI 1.3
|
||||
VISIBLE "Hello world!"
|
||||
KTHXBYE
|
||||
Reference in New Issue
Block a user