From 4d03b21e317e43de7cde1ce4d619b98a0ea8a917 Mon Sep 17 00:00:00 2001 From: Victor Antoniazzi Date: Mon, 3 Aug 2020 23:04:38 -0300 Subject: [PATCH] Add tiny-lang support --- languages/tiny.toml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 languages/tiny.toml diff --git a/languages/tiny.toml b/languages/tiny.toml new file mode 100644 index 00000000..52bc40ab --- /dev/null +++ b/languages/tiny.toml @@ -0,0 +1,25 @@ +name = "tiny" +entrypoint = "main.tl" +extensions = [ + "tl" +] + +setup = [ + "mkdir /tiny", + "git clone https://github.com/vgsantoniazzi/tiny-lang.git /tiny", + "cd /tiny", + "make && make install" +] + + +[run] +command = [ + "tiny", + "./main.tl", + "/tiny/tokens/english.yml", +] + +[tests] + [tests.welcome] + code = 'str n = "welcome to tiny-lang"; print n;' + output = "welcome to tiny-lang\n"