Archive for the 'Fep' Category

Fep Section

I just added a new Fep section. I’m going to try to work on a bit more (just ordered this sucker) as making a programming language has been something I’ve always had an interest in.

First stop: parsers!

Fep Collections

As I was working on the PHP classes that Fep was to map to, I realized that it was rather silly for me to re-invent an API for lists since there were already many well-designed ones in existence. In particular, I’ve found that the .NET 3.5 collections API to be particularly nice to use. Moreover, since everyone and their dog and using .NET now, it would also be familiar to most programmers. Thus, I’ve decided to use a subset of the .NET collections API for Fep collections.

Read more »

Fep Arrays

Disclaimer: This is not the way Fep arrays will work. Refer to the new article on Fep collections for more information.

In this article, I’ll write a bit about how I think Fep arrays will look. Keep in mind this a work in progress and is by no means comprehensive. Without further ado…

In PHP, you define an array using the array() construct. Fep will follow the lead of languages like JavaScript, Python, Ruby and Groovy and use the square bracket [] notation.


For example, a simple array in PHP is creating like this:

$arr = array(1, 2, 3);

In Fep, this would be done like this:

arr = [1, 2, 3]

Read more »

Fep: A cleaner PHP

PHP bugs me. It’s a language with so many inconsistencies, it’s just screaming to be cleaned up. I’m surprised it hasn’t happened yet. That’s why I’m starting a series of articles on Fep, a cleaned up version of PHP.

Read more »