> For the complete documentation index, see [llms.txt](https://todepond.gitbook.io/dreamtode/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://todepond.gitbook.io/dreamtode/master.md).

# Introduction

![](/files/-MVmFAMWoJ9WHvaTeCa7)

DreamTode is a language that targets WebAssembly.\
It doesn't exist yet! I'm still planning it! :)

## What's the big idea?

DreamTode is how I would like to write my code. It's my pipedream!\
It's not supposed to be used by anyone else, but you can if you want.

To understand DreamTode, I recommend reading through the pages of this book in order.

## What does it look like?

Here are some examples just to give you an idea of what DreamTode looks like. Don't worry about understanding everything yet.

```javascript
print "Hello world!"
```

```javascript
let greet = [name] => print "Hello {name}!"
greet "world" //Hello world!
```

```javascript
let age = 28
let add = [a, b] => a + b
print add(3, 2)  //5
print age:add(1) //29
```

```javascript
for (10 to 0) [n] -> {
    print n
}
print "Lift-off!"
```
