Skip to content

Commit

Permalink
[#25] New language: Coconut
Browse files Browse the repository at this point in the history
  • Loading branch information
raxod502 committed Jul 15, 2021
1 parent 83776ab commit 7aaade5
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions langs/coconut.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7aaade5

Please sign in to comment.