Updated README.

This commit is contained in:
2025-11-22 10:36:05 -05:00
parent 9b47ce1a44
commit 11d63c19f1

View File

@@ -19,18 +19,6 @@ make release
./scl.out
```
### For Development
```bash
git clone git@signorovitch.org:scl/scl --recurse-submodules && cd scl
make all test
./scl.out
```
If you wish to run tests, make sure to run `git clone --recurse-submodules` to
include the [Unity](https://github.com/ThrowTheSwitch/Unity) test framework.
*Note that tests are currently in poor use. I hope to amend this in the future.*
## Syntax
SCL's syntax will feel familiar to other functional programming languages.
@@ -41,10 +29,10 @@ SCL's syntax will feel familiar to other functional programming languages.
> f(x) x + 1
> f(1)
= 2
> (\(x) 2 * x)(5)
= 10
> \x, y 2 * x + y $ (2, 3)
= 7
> f(g) g(2)
> f(\(x) 2 * x)
> f(\x 2 * x)
= 4
```