• 10
• 11
• 12
• 14
• 15
• entries
12
26
• views
17447

# Chef

204 views

I've always wanted to try the language that is Chef. It's the perfect example of an esoteric language. It's humorous, it's difficult to program in, and the resulting program looks funny when completed.

Unfortunately, I haven't been able to find an interpreter that I'd want to use. The Perl Module doesn't interest me, since currently I'd rather stab my eyes out with a fork than use Perl for anything bigger than 50 lines. I'm just not a Perl fan. So at the suggestion of benryves, I am writing my own interpreter. Also, at the suggestion of Seriema, I shall be making it pink. You'll see how in a minute. [grin]

I originally didn't know what language to write this interpreter in. There were two options to begin with, C++ and C#. C++ would be useful since it has a nice parsing library, Boost.Spirit. C#, on the other hand, has easy unicode support, I have a nice development environment for it (Visual studio .NET 2003). But at some point in #gamedev, javascript was mentioned, and all the wonderful memories of using javascript came back to me.

Look at the cool things you can do:
function a(b){  b([2]);}a( function(c){ document.title=c; });//orvar d = (function(a,b,c) { return (a+b+c)/[3] })([1],[2],[3]);

[cool]

So I'm writing my interpreter in javascript. It shall be usable via Windows Script Host or via a web page. The web page option shall indeed be Pink as Seriema suggested.

Note: I wouldn't even be considering doing it in javascript if it wasn't for Venkman for Firefox 1.5, a javascript debugger (which ordinarily only supports 0.8-1.0).

## 1 Comment

I hope you have been having more luck with Venkman than I have (and thats not even the half of it).