From febaef077084a0794a077e95dc7b31c2062615cf Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Sat, 11 Jul 2020 13:31:37 -0600 Subject: [PATCH] New language: LiveScript --- backend/src/langs.ts | 10 ++++++++++ scripts/docker-install-phase4.bash | 3 +++ 2 files changed, 13 insertions(+) diff --git a/backend/src/langs.ts b/backend/src/langs.ts index c700e06..5cd2419 100644 --- a/backend/src/langs.ts +++ b/backend/src/langs.ts @@ -642,6 +642,16 @@ PLEASE GIVE UP template: `body:before { content: "Hello, world!"; } +`, + }, + livescript: { + aliases: ["lsc", "ls"], + name: "LiveScript", + monacoLang: "plaintext", + repl: "lsc", + main: "main.ls", + run: "lsc -r ./main.ls; lsc", + template: `console.log "Hello, world!" `, }, llvm: { diff --git a/scripts/docker-install-phase4.bash b/scripts/docker-install-phase4.bash index e02aca1..6bbc359 100755 --- a/scripts/docker-install-phase4.bash +++ b/scripts/docker-install-phase4.bash @@ -55,6 +55,9 @@ julia -e 'using Pkg; Pkg.add("LanguageServer")' # Less npm install -g less +# LiveScript +npm install -g livescript + # Perl cpanm -n Devel::REPL