λ PLT Games

Replace PHP May 2013

Description

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:

  1. It was widely used yesterday (inertia)
  2. Small runtime
  3. Portable with few dependencies
  4. Low barrier to writing a single-file dynamic web page

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!

Inspiration

phpreboot
<html>
 <body>
  <ol>
   {
     resultset = select * from foo where name = 'bar'
     foreach(resultset as value)
     {
       echo <li>$(value.name)</li>
     }
   }
  </ol>
 </body>
</html>
Snowscript
fn how_big_is_it(number)
    if number < 100
        <- "small"
    else
        <- "big"

Resources

Criteria

Innovation

Does this language introduce you to any new concepts? Does this seem like a unique language?

Completeness

Does the implementation of this language work as intended? Does it lack many bugs?

Theme application

Does the language fit the theme? Does it satisfy the constraints in the description?

Submissions

This competition received no submissions.