From 30e2d82ecde8e7499ebbeb9bc74b7eabc21a5968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=E1=BB=8Dng=20Hi=E1=BA=BFu?= Date: Thu, 3 Jun 2021 13:59:22 +0700 Subject: [PATCH 01/11] Add Vietnamese (#1050) --- #/~Vietnamese.ext | 2 ++ readme.md | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 #/~Vietnamese.ext diff --git a/#/~Vietnamese.ext b/#/~Vietnamese.ext new file mode 100644 index 00000000..97399402 --- /dev/null +++ b/#/~Vietnamese.ext @@ -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. diff --git a/readme.md b/readme.md index a137d8dc..83144ff6 100644 --- a/readme.md +++ b/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! -## 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) From 516221af8df717cd7266e68e25e8f76628cce4da Mon Sep 17 00:00:00 2001 From: MrBrain295 <66077254+MrBrain295@users.noreply.github.com> Date: Thu, 3 Jun 2021 07:02:34 +0000 Subject: [PATCH 02/11] Rename Unicorn to Unicon (#1033) --- readme.md | 2 +- u/{Unicorn.icn => Unicon.icn} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename u/{Unicorn.icn => Unicon.icn} (100%) diff --git a/readme.md b/readme.md index 83144ff6..a1955fc7 100644 --- a/readme.md +++ b/readme.md @@ -719,7 +719,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) diff --git a/u/Unicorn.icn b/u/Unicon.icn similarity index 100% rename from u/Unicorn.icn rename to u/Unicon.icn From a53b53f7f2c5dfbf0beeafbf77463ef319d00b5a Mon Sep 17 00:00:00 2001 From: MrBrain295 <66077254+MrBrain295@users.noreply.github.com> Date: Thu, 3 Jun 2021 07:03:10 +0000 Subject: [PATCH 03/11] Meta tweaks (#1048) --- a/Angular.js | 2 +- c/Cor.cor | 2 +- e/EmacsLisp.el | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/a/Angular.js b/a/Angular.js index ccc364c5..adb1b8f7 100644 --- a/a/Angular.js +++ b/a/Angular.js @@ -1,2 +1,2 @@ $scope.$log = $log; -$scope.message = 'Hello World'; +$scope.message = "Hello World"; diff --git a/c/Cor.cor b/c/Cor.cor index 2f5e0534..dee43330 100644 --- a/c/Cor.cor +++ b/c/Cor.cor @@ -1 +1 @@ -func main() console.log('Hello World') +func main() console.log("Hello World") diff --git a/e/EmacsLisp.el b/e/EmacsLisp.el index 75137210..8a92f28e 100644 --- a/e/EmacsLisp.el +++ b/e/EmacsLisp.el @@ -1,3 +1 @@ -;;for emacs elisp - -(message "hello,world") +(message "Hello World") From 3901fcdee02e4308a26b8f40f45f6d62b314808e Mon Sep 17 00:00:00 2001 From: MrBrain295 <66077254+MrBrain295@users.noreply.github.com> Date: Thu, 3 Jun 2021 07:03:27 +0000 Subject: [PATCH 04/11] Minor tweaks (#1042) --- l/LLVM.ll | 4 ---- 1 file changed, 4 deletions(-) diff --git a/l/LLVM.ll b/l/LLVM.ll index 1ba91f5e..90427633 100644 --- a/l/LLVM.ll +++ b/l/LLVM.ll @@ -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" From 1d1f44dbd2c0a763b77d112a462508538b88c66c Mon Sep 17 00:00:00 2001 From: MrBrain295 <66077254+MrBrain295@users.noreply.github.com> Date: Thu, 3 Jun 2021 07:03:45 +0000 Subject: [PATCH 05/11] Fix DD DD (#1041) --- d/DD DD.dd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d/DD DD.dd b/d/DD DD.dd index 26daa4f5..5dcc6a29 100644 --- a/d/DD DD.dd +++ b/d/DD DD.dd @@ -1 +1 @@ - Date: Thu, 3 Jun 2021 07:03:58 +0000 Subject: [PATCH 06/11] Fix CSON (#1040) --- c/CSON.cson | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/CSON.cson b/c/CSON.cson index bfe7758a..a1e24c93 100644 --- a/c/CSON.cson +++ b/c/CSON.cson @@ -1 +1 @@ -{'hello': 'world'} +{'Hello': 'World'} From a9735c5c9d7c1f8001692bec9c250665a93bf0c5 Mon Sep 17 00:00:00 2001 From: MrBrain295 <66077254+MrBrain295@users.noreply.github.com> Date: Thu, 3 Jun 2021 07:04:22 +0000 Subject: [PATCH 07/11] Fix Elixir (#1038) --- e/Elixir.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e/Elixir.ex b/e/Elixir.ex index ccdd3d58..876c868f 100644 --- a/e/Elixir.ex +++ b/e/Elixir.ex @@ -1 +1 @@ - IO.puts "Defining the function world" + IO.puts "Hello World" From ca265e63fdc47470338aa9fa575c24f229649e36 Mon Sep 17 00:00:00 2001 From: MrBrain295 <66077254+MrBrain295@users.noreply.github.com> Date: Thu, 3 Jun 2021 07:04:35 +0000 Subject: [PATCH 08/11] Fix Frink (#1037) --- f/Frink.frink | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/f/Frink.frink b/f/Frink.frink index 03dfa785..80d05571 100644 --- a/f/Frink.frink +++ b/f/Frink.frink @@ -1 +1 @@ -println["Hello World!"] \ No newline at end of file +println["Hello World"] From 00a974d7a17c7349415c5ad8275a822c971599f8 Mon Sep 17 00:00:00 2001 From: MrBrain295 <66077254+MrBrain295@users.noreply.github.com> Date: Thu, 3 Jun 2021 07:05:39 +0000 Subject: [PATCH 09/11] Add Printscript (#1043) --- p/Printscript | 1 + readme.md | 1 + 2 files changed, 2 insertions(+) create mode 100644 p/Printscript diff --git a/p/Printscript b/p/Printscript new file mode 100644 index 00000000..ce438bd2 --- /dev/null +++ b/p/Printscript @@ -0,0 +1 @@ +print "Hello World" diff --git a/readme.md b/readme.md index a1955fc7..aa164d93 100644 --- a/readme.md +++ b/readme.md @@ -579,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) From 0c735da97d989648e8d4f639214d938c76ada5f4 Mon Sep 17 00:00:00 2001 From: MrBrain295 <66077254+MrBrain295@users.noreply.github.com> Date: Thu, 3 Jun 2021 07:05:58 +0000 Subject: [PATCH 10/11] Fix Draco (#1036) --- d/Draco.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d/Draco.d b/d/Draco.d index e81070e0..e245c899 100644 --- a/d/Draco.d +++ b/d/Draco.d @@ -1,3 +1,3 @@ proc main()void: - writeln("Hello World!"); + writeln("Hello World"); corp; From 3bad2532146b3da61960bee0142fc4aa5f6292a0 Mon Sep 17 00:00:00 2001 From: MrBrain295 <66077254+MrBrain295@users.noreply.github.com> Date: Thu, 3 Jun 2021 07:07:49 +0000 Subject: [PATCH 11/11] Minor tweaks (#1034) --- i/Il.il | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/i/Il.il b/i/Il.il index 7bc7c43c..81796ee6 100644 --- a/i/Il.il +++ b/i/Il.il @@ -1,25 +1,20 @@ -// compile: -// ilasm -// (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 } }