From 83776ab848598290dd25a7d12cb64acc565e83aa Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Thu, 15 Jul 2021 06:07:02 +0000 Subject: [PATCH] [#64] New language: IO --- langs/io.yaml | 45 +++++++++++++++++++++++++++++++++++++++++++++ lib/jsonschema.yaml | 1 + 2 files changed, 46 insertions(+) create mode 100644 langs/io.yaml diff --git a/langs/io.yaml b/langs/io.yaml new file mode 100644 index 0000000..4186b62 --- /dev/null +++ b/langs/io.yaml @@ -0,0 +1,45 @@ +id: "io" +name: "Io" + +info: + year: 2002 + desc: "Dynamic prototype-based programming language in the same realm as Smalltalk and Self" + ext: + - io + web: + wiki: "https://en.wikipedia.org/wiki/Io_(programming_language)" + home: "https://iolanguage.org/" + source: "https://github.com/IoLanguage/io" + category: general + mode: interpreted + platform: [] + syntax: lua + typing: dynamic + paradigm: + - functional + - imperative + - oo + usage: abandoned + +install: + prepare: + manual: | + wget https://iobin.suspended-chord.info/linux/iobin-linux-x64-deb-current.zip -O io.zip + unzip io.zip + mv IoLanguage-*-Linux-x64.deb io.deb + deb: + - io.deb + +repl: | + io + +main: "Main.io" +template: | + "Hello, world!" println + +run: | + io -i Main.io + +scope: + code: | + x := 123 * 234 diff --git a/lib/jsonschema.yaml b/lib/jsonschema.yaml index 84f32c8..0515c2c 100644 --- a/lib/jsonschema.yaml +++ b/lib/jsonschema.yaml @@ -438,6 +438,7 @@ properties: - apl - const: haskell - const: lisp + - const: lua - const: pascal - const: python - const: text