Merge branch 'master' of https://github.com/leachim6/hello-world
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
2
#/~Malay.ext
Normal file
2
#/~Malay.ext
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
Tunjukkan perkataan "Hello World" dan garisan baru
|
||||||
|
Program tamat
|
||||||
2
#/~Sanskrit.ext
Normal file
2
#/~Sanskrit.ext
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
प्रदर्शक "नमस्कार विश्व" समायोग नव पङ्क्ति
|
||||||
|
विधि विराम
|
||||||
1
#/ひまわり.hmw
Normal file
1
#/ひまわり.hmw
Normal file
@@ -0,0 +1 @@
|
|||||||
|
「Hello World」と、表示。
|
||||||
26
README.md
26
README.md
@@ -8,7 +8,7 @@ Thanks to everyone who continues to contribute; new languages are created every
|
|||||||
Make sure to see [CONTRIBUTING.md](/CONTRIBUTING.md) for instructions on contributing to the project!
|
Make sure to see [CONTRIBUTING.md](/CONTRIBUTING.md) for instructions on contributing to the project!
|
||||||
|
|
||||||
<!--Languages start-->
|
<!--Languages start-->
|
||||||
## Languages (660 total)
|
## Languages (674 total)
|
||||||
|
|
||||||
* [05Ab1E](%23/05AB1E)
|
* [05Ab1E](%23/05AB1E)
|
||||||
* [0815](%23/0815.0815)
|
* [0815](%23/0815.0815)
|
||||||
@@ -22,9 +22,12 @@ Make sure to see [CONTRIBUTING.md](/CONTRIBUTING.md) for instructions on contrib
|
|||||||
* [8Th](%23/8th)
|
* [8Th](%23/8th)
|
||||||
* [~English](%23/~English.ext)
|
* [~English](%23/~English.ext)
|
||||||
* [~Indonesia](%23/~Indonesia.ext)
|
* [~Indonesia](%23/~Indonesia.ext)
|
||||||
|
* [~Malay](%23/~Malay.ext)
|
||||||
|
* [~Sanskrit](%23/~Sanskrit.ext)
|
||||||
* [Μλ](%23/%CE%BC%CE%BB)
|
* [Μλ](%23/%CE%BC%CE%BB)
|
||||||
* [قلب](%23/%D9%82%D9%84%D8%A8)
|
* [قلب](%23/%D9%82%D9%84%D8%A8)
|
||||||
* [なでしこ](%23/%E3%81%AA%E3%81%A7%E3%81%97%E3%81%93.nako)
|
* [なでしこ](%23/%E3%81%AA%E3%81%A7%E3%81%97%E3%81%93.nako)
|
||||||
|
* [ひまわり](%23/%E3%81%B2%E3%81%BE%E3%82%8F%E3%82%8A.hmw)
|
||||||
* [文言](%23/%E6%96%87%E8%A8%80.wy)
|
* [文言](%23/%E6%96%87%E8%A8%80.wy)
|
||||||
* [易语言](%23/%E6%98%93%E8%AF%AD%E8%A8%80.e)
|
* [易语言](%23/%E6%98%93%E8%AF%AD%E8%A8%80.e)
|
||||||
* [A++](a/a%2B%2B)
|
* [A++](a/a%2B%2B)
|
||||||
@@ -38,7 +41,7 @@ Make sure to see [CONTRIBUTING.md](/CONTRIBUTING.md) for instructions on contrib
|
|||||||
* [Actionscript2](a/actionscript2.as)
|
* [Actionscript2](a/actionscript2.as)
|
||||||
* [Actionscript3](a/actionscript3.as)
|
* [Actionscript3](a/actionscript3.as)
|
||||||
* [Actionscript Flashmx](a/actionscript_flashmx.as)
|
* [Actionscript Flashmx](a/actionscript_flashmx.as)
|
||||||
* [Ada](a/ada.ada)
|
* [Ada](a/ada.adb)
|
||||||
* [Advpl](a/advpl)
|
* [Advpl](a/advpl)
|
||||||
* [Aeolbonn](a/Aeolbonn.aeo)
|
* [Aeolbonn](a/Aeolbonn.aeo)
|
||||||
* [Aeolbonn](a/aeolbonn.aeolbonn)
|
* [Aeolbonn](a/aeolbonn.aeolbonn)
|
||||||
@@ -108,6 +111,7 @@ Make sure to see [CONTRIBUTING.md](/CONTRIBUTING.md) for instructions on contrib
|
|||||||
* [Assembler Z80 Knightos](a/assembler_z80_knightos.asm)
|
* [Assembler Z80 Knightos](a/assembler_z80_knightos.asm)
|
||||||
* [Assembler Z80 Ti83Calculator](a/assembler_z80_ti83calculator.asm)
|
* [Assembler Z80 Ti83Calculator](a/assembler_z80_ti83calculator.asm)
|
||||||
* [Assembler Z80 Zxspectrum](a/assembler_z80_zxspectrum.asm)
|
* [Assembler Z80 Zxspectrum](a/assembler_z80_zxspectrum.asm)
|
||||||
|
* [Ats2](a/ATS2.dats)
|
||||||
* [Attache](a/Attache.%40)
|
* [Attache](a/Attache.%40)
|
||||||
* [Autohotkey](a/autohotkey.ahk)
|
* [Autohotkey](a/autohotkey.ahk)
|
||||||
* [Autoit](a/autoit.au3)
|
* [Autoit](a/autoit.au3)
|
||||||
@@ -115,8 +119,10 @@ Make sure to see [CONTRIBUTING.md](/CONTRIBUTING.md) for instructions on contrib
|
|||||||
* [Awful](a/awful.yuk)
|
* [Awful](a/awful.yuk)
|
||||||
* [Awk](a/awk.awk)
|
* [Awk](a/awk.awk)
|
||||||
* [B](b/B.b)
|
* [B](b/B.b)
|
||||||
|
* [Baik](b/BAIK.ina)
|
||||||
* [Ballerina](b/ballerina.bal)
|
* [Ballerina](b/ballerina.bal)
|
||||||
* [Bash](b/bash.bash)
|
* [Bash](b/bash.bash)
|
||||||
|
* [Basic 256](b/basic-256.kbs)
|
||||||
* [Basic](b/basic.bas)
|
* [Basic](b/basic.bas)
|
||||||
* [Batch](b/batch.bat)
|
* [Batch](b/batch.bat)
|
||||||
* [Batch](b/batch.cmd)
|
* [Batch](b/batch.cmd)
|
||||||
@@ -149,15 +155,13 @@ Make sure to see [CONTRIBUTING.md](/CONTRIBUTING.md) for instructions on contrib
|
|||||||
* [Brzrk](b/BRZRK.brzrk)
|
* [Brzrk](b/BRZRK.brzrk)
|
||||||
* [Burlesque](b/burlesque.burlesque)
|
* [Burlesque](b/burlesque.burlesque)
|
||||||
* [Byter](b/byter.byter)
|
* [Byter](b/byter.byter)
|
||||||
* [Locomotive Basic](b/locomotive-basic.b)
|
|
||||||
* [C++](c/c%2B%2B.cpp)
|
* [C++](c/c%2B%2B.cpp)
|
||||||
* [C++98](c/c%2B%2B98.cpp)
|
|
||||||
* [C](c/c.c)
|
* [C](c/c.c)
|
||||||
* [C90](c/c90.c)
|
|
||||||
* [Caml](c/caml.ml)
|
* [Caml](c/caml.ml)
|
||||||
* [Cardinal](c/cardinal.cardinal)
|
* [Cardinal](c/cardinal.cardinal)
|
||||||
* [Casio Basic](c/Casio%20BASIC)
|
* [Casio Basic](c/Casio%20BASIC)
|
||||||
* [Cat](c/cat.cat)
|
* [Cat](c/cat.cat)
|
||||||
|
* [Cbot](c/cbot.txt)
|
||||||
* [Cduce](c/cduce.cduce)
|
* [Cduce](c/cduce.cduce)
|
||||||
* [Centura](c/centura.centura)
|
* [Centura](c/centura.centura)
|
||||||
* [Ceylon](c/ceylon.ceylon)
|
* [Ceylon](c/ceylon.ceylon)
|
||||||
@@ -235,12 +239,14 @@ Make sure to see [CONTRIBUTING.md](/CONTRIBUTING.md) for instructions on contrib
|
|||||||
* [Emmental](e/emmental.emmental)
|
* [Emmental](e/emmental.emmental)
|
||||||
* [Emojicode](e/emojicode.emojic)
|
* [Emojicode](e/emojicode.emojic)
|
||||||
* [Emoticon](e/emoticon.emoticon)
|
* [Emoticon](e/emoticon.emoticon)
|
||||||
|
* [Enkelt](e/enkelt.e)
|
||||||
* [Eoool](e/EOOOL.eoool)
|
* [Eoool](e/EOOOL.eoool)
|
||||||
* [Erlang](e/erlang.erl)
|
* [Erlang](e/erlang.erl)
|
||||||
* [Erlang Escript](e/erlang_escript.erl)
|
* [Erlang Escript](e/erlang_escript.erl)
|
||||||
* [Euphoria](e/euphoria.ex)
|
* [Euphoria](e/euphoria.ex)
|
||||||
* [Express](e/express.js)
|
* [Express](e/express.js)
|
||||||
* [Factor](f/factor.factor)
|
* [Factor](f/factor.factor)
|
||||||
|
* [Factors](f/factors.fact)
|
||||||
* [Falcon](f/falcon.fal)
|
* [Falcon](f/falcon.fal)
|
||||||
* [False](f/false.f)
|
* [False](f/false.f)
|
||||||
* [Fancy](f/fancy.fy)
|
* [Fancy](f/fancy.fy)
|
||||||
@@ -251,6 +257,7 @@ Make sure to see [CONTRIBUTING.md](/CONTRIBUTING.md) for instructions on contrib
|
|||||||
* [Fim++](f/fim%2B%2B.fimpp)
|
* [Fim++](f/fim%2B%2B.fimpp)
|
||||||
* [Fish](f/fish.fish)
|
* [Fish](f/fish.fish)
|
||||||
* [Fjoelnir](f/fjoelnir.fjo)
|
* [Fjoelnir](f/fjoelnir.fjo)
|
||||||
|
* [Flascript](f/flascript.fls)
|
||||||
* [Flask](f/flask.py)
|
* [Flask](f/flask.py)
|
||||||
* [Fob](f/fob.fob)
|
* [Fob](f/fob.fob)
|
||||||
* [Focal](f/focal.fc)
|
* [Focal](f/focal.fc)
|
||||||
@@ -263,6 +270,7 @@ Make sure to see [CONTRIBUTING.md](/CONTRIBUTING.md) for instructions on contrib
|
|||||||
* [Fortran77](f/fortran77.f77)
|
* [Fortran77](f/fortran77.f77)
|
||||||
* [Fourier](f/fourier.fourier)
|
* [Fourier](f/fourier.fourier)
|
||||||
* [Fractran++](f/fractran%2B%2B.fpp)
|
* [Fractran++](f/fractran%2B%2B.fpp)
|
||||||
|
* [Freebrain](f/freebrain.frbr)
|
||||||
* [Frink](f/frink.frink)
|
* [Frink](f/frink.frink)
|
||||||
* [Fsharp](f/fsharp.fs)
|
* [Fsharp](f/fsharp.fs)
|
||||||
* [Fstar](f/fstar.fst)
|
* [Fstar](f/fstar.fst)
|
||||||
@@ -366,12 +374,14 @@ Make sure to see [CONTRIBUTING.md](/CONTRIBUTING.md) for instructions on contrib
|
|||||||
* [Livescript](l/livescript.ls)
|
* [Livescript](l/livescript.ls)
|
||||||
* [Llvm](l/llvm.ll)
|
* [Llvm](l/llvm.ll)
|
||||||
* [Lnusp](l/LNUSP.lnusp)
|
* [Lnusp](l/LNUSP.lnusp)
|
||||||
|
* [Locomotive Basic](l/locomotive-basic.b)
|
||||||
* [Logicode](l/logicode.lgc)
|
* [Logicode](l/logicode.lgc)
|
||||||
* [Logo](l/logo.lg)
|
* [Logo](l/logo.lg)
|
||||||
* [Logtalk](l/logtalk.lgt)
|
* [Logtalk](l/logtalk.lgt)
|
||||||
* [Lola](l/LOLA.lola)
|
* [Lola](l/LOLA.lola)
|
||||||
* [Lolcode](l/lolcode.lol)
|
* [Lolcode](l/lolcode.lol)
|
||||||
* [Lolpython](l/lolpython.lol)
|
* [Lolpython](l/lolpython.lol)
|
||||||
|
* [Lotusscript](l/lotusscript.lss)
|
||||||
* [Lsl](l/lsl.lsl)
|
* [Lsl](l/lsl.lsl)
|
||||||
* [Lua](l/lua.lua)
|
* [Lua](l/lua.lua)
|
||||||
* [Lua Grimex](l/lua_grimex.j)
|
* [Lua Grimex](l/lua_grimex.j)
|
||||||
@@ -388,6 +398,7 @@ Make sure to see [CONTRIBUTING.md](/CONTRIBUTING.md) for instructions on contrib
|
|||||||
* [Mel](m/mel.mel)
|
* [Mel](m/mel.mel)
|
||||||
* [Meq](m/meq.meq)
|
* [Meq](m/meq.meq)
|
||||||
* [Mercury](m/mercury.m)
|
* [Mercury](m/mercury.m)
|
||||||
|
* [Milkscript](m/milkscript.milk)
|
||||||
* [Minecraft](m/minecraft)
|
* [Minecraft](m/minecraft)
|
||||||
* [Mips](m/mips.s)
|
* [Mips](m/mips.s)
|
||||||
* [Mirc](m/mirc.mrc)
|
* [Mirc](m/mirc.mrc)
|
||||||
@@ -491,16 +502,19 @@ Make sure to see [CONTRIBUTING.md](/CONTRIBUTING.md) for instructions on contrib
|
|||||||
* [Qbasic](q/Qbasic.bas)
|
* [Qbasic](q/Qbasic.bas)
|
||||||
* [Qcl](q/qcl.qcl)
|
* [Qcl](q/qcl.qcl)
|
||||||
* [Qore](q/qore.q)
|
* [Qore](q/qore.q)
|
||||||
|
* [Qsharp](q/qsharp.qs)
|
||||||
* [Qu](q/qu.qu)
|
* [Qu](q/qu.qu)
|
||||||
* [Quakec](q/QuakeC.qc)
|
* [Quakec](q/QuakeC.qc)
|
||||||
* [Quartzcomposer](q/QuartzComposer.qtz)
|
* [Quartzcomposer](q/QuartzComposer.qtz)
|
||||||
* [Qugord](q/qugord.qugord)
|
* [Qugord](q/qugord.qugord)
|
||||||
|
* [Quorum](q/quorum.quorum)
|
||||||
* [Qwerty](q/qwerty.qwerty)
|
* [Qwerty](q/qwerty.qwerty)
|
||||||
* [R](r/R.R)
|
* [R](r/R.R)
|
||||||
* [Racket](r/racket.rkt)
|
* [Racket](r/racket.rkt)
|
||||||
* [Radixal](r/radixal.radixal)
|
* [Radixal](r/radixal.radixal)
|
||||||
* [Ratfor](r/ratfor.ratfor)
|
* [Ratfor](r/ratfor.ratfor)
|
||||||
* [React](r/react.js)
|
* [React](r/react.js)
|
||||||
|
* [React360](r/react360.js)
|
||||||
* [Readlink](r/readlink.readlink)
|
* [Readlink](r/readlink.readlink)
|
||||||
* [Realbasic](r/realbasic.realbasic)
|
* [Realbasic](r/realbasic.realbasic)
|
||||||
* [Reason](r/reason.re)
|
* [Reason](r/reason.re)
|
||||||
@@ -675,4 +689,4 @@ Make sure to see [CONTRIBUTING.md](/CONTRIBUTING.md) for instructions on contrib
|
|||||||
## Related
|
## Related
|
||||||
|
|
||||||
- [FizBuzz](https://github.com/zenware/FizzBuzz)
|
- [FizBuzz](https://github.com/zenware/FizzBuzz)
|
||||||
- [The Hello World Collection](https://helloworldcollection.github.io/).
|
- [The Hello World Collection](https://helloworldcollection.github.io/)
|
||||||
|
|||||||
1
a/ATS2.dats
Normal file
1
a/ATS2.dats
Normal file
@@ -0,0 +1 @@
|
|||||||
|
implement main0 () = println! "Hello World"
|
||||||
0
a/ada.ada → a/ada.adb
Executable file → Normal file
0
a/ada.ada → a/ada.adb
Executable file → Normal file
@@ -1 +1 @@
|
|||||||
.-$"Hello, World"
|
.-$"Hello World"
|
||||||
|
|||||||
9
b/B.b
9
b/B.b
@@ -1,10 +1,3 @@
|
|||||||
/* Hello World in B */
|
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
extern a, b, c;
|
putchar ('Hell'); putchar ('o Wo'); putchar ('rld'); putchar ('*n');
|
||||||
putchar (a); putchar (b); putchar (c); putchar ('!*n');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a 'hell' ;
|
|
||||||
b 'o, w' ;
|
|
||||||
c 'orld' ;
|
|
||||||
|
|||||||
1
b/BAIK.ina
Normal file
1
b/BAIK.ina
Normal file
@@ -0,0 +1 @@
|
|||||||
|
tulis "Hello World"
|
||||||
1
b/basic-256.kbs
Normal file
1
b/basic-256.kbs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Print "Hello World"
|
||||||
@@ -5,4 +5,4 @@
|
|||||||
000 000 000 100 011 011 000 000 100 010 000 000 000 000 000
|
000 000 000 100 011 011 000 000 100 010 000 000 000 000 000
|
||||||
000 000 000 000 000 000 000 000 000 000 100 010 100 000 000
|
000 000 000 000 000 000 000 000 000 000 100 010 100 000 000
|
||||||
000 100 001 001 001 001 001 001 100 001 001 001 001 001 001
|
000 100 001 001 001 001 001 001 100 001 001 001 001 001 001
|
||||||
001 001 100 011 011 000 100
|
001 001 100
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
10 print "Hello, World"
|
|
||||||
run
|
|
||||||
@@ -1,8 +1,6 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
cout << "Hello World\n";
|
std::cout << "Hello World" << std::endl;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
#include<iostream.h>
|
|
||||||
#include<conio.h>
|
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
|
||||||
{
|
|
||||||
cout << "Hello World" << endl;
|
|
||||||
getch();
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
7
c/c90.c
7
c/c90.c
@@ -1,7 +0,0 @@
|
|||||||
#include<stdio.h>
|
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
|
||||||
{
|
|
||||||
printf("Hello World\n");
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
6
c/cbot.txt
Normal file
6
c/cbot.txt
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
extern void object::New()
|
||||||
|
{
|
||||||
|
|
||||||
|
message("Hello World");
|
||||||
|
|
||||||
|
}
|
||||||
1
e/enkelt.e
Normal file
1
e/enkelt.e
Normal file
@@ -0,0 +1 @@
|
|||||||
|
skriv("Hello World")
|
||||||
3
f/factors.fact
Normal file
3
f/factors.fact
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
1240479476546339573634662660744997483390159825927257577642211238764859751532647897788588745690462747
|
||||||
|
2954259026932147401271063216759368974236989467343884314431173679900151962232540368081876543214803741
|
||||||
|
27355669151693462637517323355034011282348481257152244997524115792512161
|
||||||
4
f/flascript.fls
Normal file
4
f/flascript.fls
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
main() -> main {
|
||||||
|
print(string) -> "Hello World"
|
||||||
|
print(newline)
|
||||||
|
}
|
||||||
13
f/freebrain.frbr
Normal file
13
f/freebrain.frbr
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
!->:>_^>~++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<^_<:
|
||||||
|
!->:>_^>~+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<^_<:
|
||||||
|
!->:>_^>~++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<^_<:
|
||||||
|
!->:>_^>~++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<^_<:
|
||||||
|
!->:>_^>~+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<^_<:
|
||||||
|
!->:>_^>~++++++++++++++++++++++++++++++++<^_<:
|
||||||
|
!->:>_^>~+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<^_<:
|
||||||
|
!->:>_^>~+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<^_<:
|
||||||
|
!->:>_^>~++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<^_<:
|
||||||
|
!->:>_^>~++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<^_<:
|
||||||
|
!->:>_^>~++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<^_<:
|
||||||
|
!->:>_^>~+++++++++++++++++++++++++++++++++<^_<:
|
||||||
|
[!->:>_^> ? <^_<:] ?* (~++++++++++++++++++++++++++++++++++++++++++++++++++) *? !->:>_^>(~++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)<*>(~++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)<^_<:
|
||||||
2
l/locomotive-basic.b
Normal file
2
l/locomotive-basic.b
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
10 print "Hello World"
|
||||||
|
run
|
||||||
3
l/lotusscript.lss
Normal file
3
l/lotusscript.lss
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
Sub Initialize
|
||||||
|
Print "Hello World"
|
||||||
|
End Sub
|
||||||
@@ -1 +1 @@
|
|||||||
(=<`#9]~6ZY32Vx/4Rs+0No-&Jk)"Fh}|Bcy?`=*z]Kw%oG4UUS0/@-ejc(:'8dc
|
D'`$MLKJ}|43V1C5S3sr0)M^mJIZjh3DCAA?-=v{)Lxqpunm3kSinmlkdib(IHdc\"!Y^]\[ZYXQuUTMRQJImG/KJIHG@d>&<;:9>=6Z498165.-Q10/.'&J*)(!g}C0
|
||||||
|
|||||||
2
m/milkscript.milk
Normal file
2
m/milkscript.milk
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#import "basic"
|
||||||
|
print("Hello World")
|
||||||
9
q/qsharp.qs
Normal file
9
q/qsharp.qs
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
namespace Quantum.HelloWorld {
|
||||||
|
open Microsoft.Quantum.Canon;
|
||||||
|
open Microsoft.Quantum.Intrinsic;
|
||||||
|
|
||||||
|
|
||||||
|
operation HelloWorld() : Unit {
|
||||||
|
Message("Hello World");
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
using Microsoft.Quantum.Simulation.Simulators;
|
|
||||||
|
|
||||||
namespace Quantum.HelloWorld
|
|
||||||
{
|
|
||||||
class Driver
|
|
||||||
{
|
|
||||||
static void Main(string[] args)
|
|
||||||
{
|
|
||||||
using (var sim = new QuantumSimulator())
|
|
||||||
{
|
|
||||||
var res = HelloWorld.Run(sim).Result;
|
|
||||||
System.Console.WriteLine(
|
|
||||||
$"{res}");
|
|
||||||
}
|
|
||||||
System.Console.WriteLine("Press any key to continue...");
|
|
||||||
System.Console.ReadKey();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
namespace Quantum.HelloWorld
|
|
||||||
{
|
|
||||||
operation HelloWorld () : (String)
|
|
||||||
{
|
|
||||||
body
|
|
||||||
{
|
|
||||||
return ("Hello World");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
1
q/quorum.quorum
Normal file
1
q/quorum.quorum
Normal file
@@ -0,0 +1 @@
|
|||||||
|
output "Hello World"
|
||||||
36
r/react360.js
Normal file
36
r/react360.js
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
import React from "react";
|
||||||
|
import { AppRegistry, Text, View, StyleSheet } from "react-360";
|
||||||
|
|
||||||
|
export default class hello_world extends React.Component {
|
||||||
|
render() {
|
||||||
|
return (
|
||||||
|
<View style={styles.panel}>
|
||||||
|
<View style={styles.greetingBox}>
|
||||||
|
<Text style={styles.greeting}>Hello World</Text>
|
||||||
|
</View>
|
||||||
|
</View>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const styles = StyleSheet.create({
|
||||||
|
panel: {
|
||||||
|
// Fill the entire surface
|
||||||
|
width: 1000,
|
||||||
|
height: 600,
|
||||||
|
backgroundColor: "rgba(255, 255, 255, 0.4)",
|
||||||
|
justifyContent: "center",
|
||||||
|
alignItems: "center",
|
||||||
|
},
|
||||||
|
greetingBox: {
|
||||||
|
padding: 20,
|
||||||
|
backgroundColor: "#000000",
|
||||||
|
borderColor: "#639dda",
|
||||||
|
borderWidth: 2,
|
||||||
|
},
|
||||||
|
greeting: {
|
||||||
|
fontSize: 30,
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
AppRegistry.registerComponent("hello_world", () => hello_world);
|
||||||
Reference in New Issue
Block a user