Merge branch 'leachim6:master' into Double-quotes

This commit is contained in:
MrBrain295 2021-06-03 13:01:10 +00:00
commit 28fd1dc125
12 changed files with 24 additions and 30 deletions

2
#/~Vietnamese.ext Normal file
View File

@ -0,0 +1,2 @@
Hiển thị "Xin Chào Thế Giới" và thêm một dòng mới.
Dừng chương trình.

View File

@ -1 +1 @@
{'hello': 'world'}
{'Hello': 'World'}

View File

@ -1 +1 @@
<!Hello,\ World!\0A;
<!Hello\ World\0A;

View File

@ -1,3 +1,3 @@
proc main()void:
writeln("Hello World!");
writeln("Hello World");
corp;

View File

@ -1 +1 @@
IO.puts "Defining the function world"
IO.puts "Hello World"

View File

@ -1,3 +1 @@
;;for emacs elisp
(message "hello,world")
(message "Hello World")

View File

@ -1 +1 @@
println["Hello World!"]
println["Hello World"]

27
i/Il.il
View File

@ -1,25 +1,20 @@
// compile:
// ilasm <this file's name>
// (if ilasm cannot be found, it's in the .NET directory (%windir%\Microsoft.NET\Framework\v4.0.30319\ilasm.exe))
// assembly references
.assembly extern mscorlib
{
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) // .z\V.4..
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 )
.ver 4:0:0:0
}
// assembly manifest
.assembly ilhw
{
// target framework
// this is always a pain in the ass (thus copy it from another assembly by using ildasm)
.custom instance void [mscorlib]System.Runtime.Versioning.TargetFrameworkAttribute::.ctor(string)
= ( 01 00 1C 2E 4E 45 54 46 72 61 6D 65 77 6F 72 6B // ....NETFramework
2C 56 65 72 73 69 6F 6E 3D 76 34 2E 35 2E 33 01 // ,Version=v4.5.3.
00 54 0E 14 46 72 61 6D 65 77 6F 72 6B 44 69 73 // .T..FrameworkDis
70 6C 61 79 4E 61 6D 65 14 2E 4E 45 54 20 46 72 // playName..NET Fr
61 6D 65 77 6F 72 6B 20 34 2E 35 2E 33 ) // amework 4.5.3
= ( 01 00 1C 2E 4E 45 54 46 72 61 6D 65 77 6F 72 6B
2C 56 65 72 73 69 6F 6E 3D 76 34 2E 35 2E 33 01
00 54 0E 14 46 72 61 6D 65 77 6F 72 6B 44 69 73
70 6C 61 79 4E 61 6D 65 14 2E 4E 45 54 20 46 72
61 6D 65 77 6F 72 6B 20 34 2E 35 2E 33 )
.hash algorithm 0x00008004
@ -30,8 +25,8 @@
.imagebase 0x00400000
.file alignment 0x00000200
.stackreserve 0x00100000
.subsystem 0x0003 // WINDOWS_CUI
.corflags 0x00000001 // ILONLY
.subsystem 0x0003
.corflags 0x00000001
.class public abstract auto ansi sealed ILHW.Program
@ -43,10 +38,10 @@
.entrypoint // this method is the entry point of the program
.maxstack 1 // the maximum amount of objects on the stack is 1.
ldstr "Hello World" // loads a string on the stack (it actually allocates it and puts the GC handle on the stack)
call void [mscorlib]System.Console::WriteLine(string) // this should be straightforward enough
ldstr "Hello World"
call void [mscorlib]System.Console::WriteLine(string)
ret // even void methods need a return statement
ret
}
}

View File

@ -1,7 +1,3 @@
; llvm-as llvm.ll
; x86 assembly: llc llvm.bc -o llvm.s -march x86
; interpreter: lli llvm.bc
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
@.str = internal constant [12 x i8] c"Hello World\00"

1
p/Printscript Normal file
View File

@ -0,0 +1 @@
print "Hello World"

View File

@ -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!
<!--Languages start-->
## Languages (774 total)
## Languages (775 total)
* [!@#$%^&*()_+](%23/%21%40%23%24%25%5E%26%E2%88%97%28%29_%2B)
* [05AB1E](%23/05AB1E)
@ -60,6 +60,7 @@ Make sure to see [contributing.md](/contributing.md) for instructions on contrib
* [~Turkish](%23/~Turkish.ext)
* [~Ukrainian](%23/~Ukrainian.ext)
* [~Urdu](%23/~Urdu.ext)
* [~Vietnamese](%23/~Vietnamese.ext)
* [~Zulu](%23/~Zulu)
* [μλ](%23/%CE%BC%CE%BB)
* [قلب](%23/%D9%82%D9%84%D8%A8)
@ -578,6 +579,7 @@ Make sure to see [contributing.md](/contributing.md) for instructions on contrib
* [Potaka](p/Potaka.ptk)
* [Potigol](p/Potigol.poti)
* [PowerShell](p/PowerShell.ps1)
* [Printscript](p/Printscript)
* [Processing](p/Processing.pde)
* [Profan](p/Profan)
* [Prolog](p/Prolog.pro)
@ -718,7 +720,7 @@ Make sure to see [contributing.md](/contributing.md) for instructions on contrib
* [Ubiquity](u/Ubiquity.ubiquity)
* [Umajin](u/Umajin.u)
* [Unicomal](u/Unicomal.lst)
* [Unicorn](u/Unicorn.icn)
* [Unicon](u/Unicon.icn)
* [Uniface](u/Uniface.uniface)
* [Unlambda](u/Unlambda.unl)
* [Unreal Script](u/Unreal%20Script.uc)