[#24] New language: Grass

This commit is contained in:
Radon Rosborough 2020-09-29 12:28:04 -07:00
parent d3a991a132
commit 46f8716f46
2 changed files with 12 additions and 0 deletions

View File

@ -1308,6 +1308,14 @@ func main() {
main: "main.gs",
run: "golfscript main.gs",
template: `'Hello, world!'
`,
},
grass: {
name: "Grass",
main: "main.grass",
run: "grass < main.grass",
hello: `w`,
template: `wWWwwww
`,
},
groovy: {

View File

@ -165,6 +165,10 @@ rm -rf go
wget -nv http://www.golfscript.com/golfscript/golfscript.rb -O /usr/local/bin/golfscript
chmod +x /usr/local/bin/golfscript
# Grass
wget -nv http://www.blue.sky.or.jp/grass/grass.rb -O /usr/local/bin/grass
chmod +x /usr/local/bin/grass
# Haskell
curl -sSL https://get.haskellstack.org/ | sh
wget -nv https://github.com/raxod502/riju-cdn/releases/download/brittany-0.12.1.1/brittany -O /usr/local/bin/brittany