clay is a programming language created in 2010 by KS Sreeram and Joe Groff.

Source code:

`git clone https://github.com/jckarter/clay`

#665on PLDB | 13Years Old |

The Clay programming language

- clay website
- clay is developed on GitHub and has 395 stars
- clay first developed in https://claylabs.com/
- file extensions for clay include clay
- clay on Twitter
- There are 5 Project Euler users using clay
- Pygments supports syntax highlighting for clay
- Read more about clay on the web: 1.

Example from the web:

```
import printer.(println);
factorial1(n) {
if (n == 0)
return 1;
return n*factorial1(n-1);
}
factorial2(n) {
var p = 1;
again :
if (n == 0)
return p;
p *: n;
n -: 1;
goto again;
}
factorial3(n) {
var p = 1;
while (true) {
if (n == 0) break;
p *: n;
n -: 1;
}
return p;
}
factorial4(n) {
var p = 1;
for (i in range(n))
p *: i+1;
return p;
}
main() {
var n = 7;
n -: 1;
var f = factorial4(n);
println("factorial(", n, ") = ", f);
return 0;
}
```

Feature | Supported | Token | Example |
---|---|---|---|

Comments | âœ“ | ||

MultiLine Comments | âœ“ | ||

Line Comments | âœ“ | ||

Integers | âœ“ | ||

Hexadecimals | âœ“ | ||

Print() Debugging | âœ“ | println |