mirror of
https://github.com/lisk77/lambda.git
synced 2025-10-24 02:08:49 +00:00
feat: added README
This commit is contained in:
parent
0dd91da74f
commit
f8a6cf726f
1 changed files with 32 additions and 0 deletions
32
README.md
Normal file
32
README.md
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# Lambda
|
||||
|
||||
A simple lambda calculus evaluator. Its just a bunch of functions you define and use as data and pass into other functions.
|
||||
|
||||
## How to install
|
||||
|
||||
```
|
||||
git clone https://github.com/lisk77/lambda && cd lambda
|
||||
mkdir build && cd build
|
||||
cmake ..
|
||||
make
|
||||
```
|
||||
|
||||
## How to use
|
||||
|
||||
Write your code into a file and pipe it into the binary
|
||||
|
||||
```
|
||||
cat file | lambda
|
||||
```
|
||||
|
||||
or just echo the code directly
|
||||
|
||||
```
|
||||
echo "main = \\ x . x;" | lambda
|
||||
```
|
||||
|
||||
## Future ideas
|
||||
|
||||
- [ ] types
|
||||
- [ ] imports
|
||||
- [ ] small standard library
|
||||
Loading…
Add table
Add a link
Reference in a new issue