mirror of
https://github.com/lisk77/lambda.git
synced 2025-10-24 18:28:49 +00:00
docs: updated README
This commit is contained in:
parent
f8a6cf726f
commit
92f8622473
1 changed files with 14 additions and 0 deletions
14
README.md
14
README.md
|
|
@ -25,6 +25,20 @@ or just echo the code directly
|
|||
echo "main = \\ x . x;" | lambda
|
||||
```
|
||||
|
||||
### Syntax
|
||||
|
||||
Lambda expression
|
||||
```
|
||||
\ param1 param2 param3 ... param3 . body
|
||||
```
|
||||
|
||||
Name definition
|
||||
```
|
||||
identifier = lambda expression | identifier;
|
||||
```
|
||||
|
||||
For a file to be able to be run, it needs to define a `main` function.
|
||||
|
||||
## Future ideas
|
||||
|
||||
- [ ] types
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue