PHP is the language everyone loves to hate. It’s filled with design mistakes and inconsistencies.
But it does have a few reasons for why it’s popular:
While we can’t easily achieve the first point, we might be able to do fairly well in the last three. We might even be able to do it and have a well designed language!
The goals for this competition is to write a small and portable language with few dependencies. It needs to be very easy to build and install on a web server.
Let’s do better than PHP!
<html>
<body>
<ol>
{
resultset = select * from foo where name = 'bar'
foreach(resultset as value)
{
echo <li>$(value.name)</li>
}
}
</ol>
</body>
</html>
fn how_big_is_it(number)
if number < 100
<- "small"
else
<- "big"
This competition received no submissions.