[#25] New language: Coconut

This commit is contained in:
Radon Rosborough 2021-07-15 06:26:30 +00:00
parent 83776ab848
commit 7aaade509a
1 changed files with 53 additions and 0 deletions

53
langs/coconut.yaml Normal file
View File

@ -0,0 +1,53 @@
id: "coconut"
aliases:
- "coco"
- "coconutlang"
- "coconut-lang"
name: "Coconut"
monacoLang: python
info:
year: 2014
desc: "Simple, elegant, Pythonic functional programming"
ext:
- coco
web:
home: "https://coconut-lang.org/"
source: "https://github.com/evhub/coconut"
category: general
mode: interpreted
platform: python
syntax:
- haskell
- python
- whitespace
typing: dynamic
paradigm:
- functional
- imperative
- oo
usage: []
install:
pip:
- coconut
repl: |
coconut
input: |
DELAY: 3
123 * 234
main: "main.coco"
template: |
print("Hello, world!")
run: |
coconut -i main.coco
scope:
code: |
x = 123 * 234
input: |
DELAY: 3
x