An open API service indexing awesome lists of open source software.

https://github.com/zyugyzarc/dees

Dees is a compiled, dynamicaly typed, programming language made with C++ and Python.
https://github.com/zyugyzarc/dees

compiler cpp language programming-language python

Last synced: 11 months ago
JSON representation

Dees is a compiled, dynamicaly typed, programming language made with C++ and Python.

Awesome Lists containing this project

README

          

# Dees
Dees is a compiled, dynamicaly typed, programming language made with C++ and Python.

## Quickstart
(using the js syntax hilighter works well enough for this)
```js
fizzbuzz(n)->{
for( i=1 )( i y`)
* less than (`x < y`)
* equal to (`x == y`)
* modulo (`x % y`)

### Functions

functions can be defined as such
```js
func(x)->{
print("Hello ", x)
}
```
and called by
`func("Joe")`

recursive functions also work:
```js
fact(x)->{
if( x==0 ){
return 1
}
return x * fact(x-1)
}
```

you can also use lambdas or inline functions.
```js
//this is an inline function
(x)->{ print("Hello", x) }
```
and can be used to define functions normally
```js
func = (x)->{ print("Hello", x) }
```