From f0bfe3b7f1d24a9ba371e68f7a476dc67ac4e0a9 Mon Sep 17 00:00:00 2001 From: nelmvn Date: Wed, 1 Apr 2020 00:40:55 +0800 Subject: [PATCH] Added Zinc, vJass, and Lua Grimex (#617) * Add Lua Object Generation (JNGP) * Add vJass * Add Zinc * Update README.md * Update README.md * Use log() instead * Update and rename lua_jngp.j to lua_grimex.j * Update README.md * Remove notepad call Co-authored-by: Richie Bendall --- README.md | 3 +++ l/lua_grimex.j | 5 +++++ v/vjass.j | 5 +++++ z/zinc.zn | 7 +++++++ 4 files changed, 20 insertions(+) create mode 100644 l/lua_grimex.j create mode 100644 v/vjass.j create mode 100644 z/zinc.zn diff --git a/README.md b/README.md index 2f572ebb..8c11cf28 100755 --- a/README.md +++ b/README.md @@ -363,6 +363,7 @@ Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-wo * [Lolpython](l/lolpython.lol) * [Lsl](l/lsl.lsl) * [Lua](l/lua.lua) +* [Lua Grimex](l/lua_grimex.j) * [M4](m/m4.m4) * [Maclisp](m/maclisp.lisp) * [Macsyma](m/macsyma.mac) @@ -611,6 +612,7 @@ Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-wo * [Visual Basic Script](v/visual-basic-script.vbs) * [Visual Basic](v/visual-basic.vb) * [Visualfoxpro](v/visualfoxpro.prg) +* [Vjass](v/vjass.j) * [Vms](v/vms.vms) * [Vowels](v/Vowels.vw) * [Vrml](v/vrml.wrl) @@ -646,6 +648,7 @@ Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-wo * [Zetaplex](z/zetaplex.zeta) * [Zim](z/zim.zim) * [Zimbu](z/zimbu.zu) +* [Zinc](z/zinc.zn) * [Zombie](z/zombie.zombie) * [Zonnon](z/zonnon.znn) * [Zsh](z/zsh.zsh) diff --git a/l/lua_grimex.j b/l/lua_grimex.j new file mode 100644 index 00000000..1549d1c4 --- /dev/null +++ b/l/lua_grimex.j @@ -0,0 +1,5 @@ +//! externalblock extension=lua ObjectMerger $FILENAME$ + +//! i log("Hello World") + +//! endexternalblock diff --git a/v/vjass.j b/v/vjass.j new file mode 100644 index 00000000..6b45b2e1 --- /dev/null +++ b/v/vjass.j @@ -0,0 +1,5 @@ +struct HelloWorld extends array + private static method onInit takes nothing returns nothing + call DisplayTimedTextToPlayer(GetLocalPlayer(), 0, 0, 0, "Hello World") + endmethod +endstruct diff --git a/z/zinc.zn b/z/zinc.zn new file mode 100644 index 00000000..a5bba16f --- /dev/null +++ b/z/zinc.zn @@ -0,0 +1,7 @@ +//! zinc +library HelloWorld { + private function onInit() { + DisplayTimedTextToPlayer(GetLocalPlayer(), 0, 0, 0, "Hello World"); + } +} +//! endzinc