Jump to content
  • Advertisement
  • entries
  • comments
  • views

Epoch. Again.

Sign in to follow this  


A decent day's work on Epoch has netted some substantial improvements. Not only do function return values work again, but I added something that wasn't even supported in the old code: full expressions in return value initializers.

Since that's probably total gibberish to everyone except me, it means that I used to have to do stupid things like this:

add : (integer(a), integer(b)) -> (integer(ret, 0)) { ret = a + b }

Whereas now I can do this:

add : (integer(a), integer(b)) -> (integer(ret, a + b)) { }


Sadly, the new architecture has broken far more of the language than it's helped - so far. While there's a lot of promise in my new approach, I have to reimplement a lot of ground work to reach a point where I can start cashing in on that promise. For instance, the standard library includes three functions at the moment: debug output, casting from integer to string, and integer addition.

Yep... no subtraction. No other arithmetic. No boolean logic. No flow control primitives. Nothing.

In a lot of ways it feels like the massive blob of work that I'd accomplished with the language just went up in smoke. Of course I can reimplement things quite a bit faster this time around with the combined benefits of hindsight and existing code to consult, but it still represents a massive amount of work just to get the language to the point where it was three or four releases ago.

It's tempting to get discouraged and just let the thing rot, but I keep running into cool ideas in my daily work. I can't count the number of times I've thought "wow, I'd love to prototype that concept in an experimental language" and then realized that I have a perfectly viable and wonderful experimental language framework sitting right in front of me. It's just a matter of knuckling down and getting the boring stuff done (again) so I can get to all the fun exploratory bits.

GDC is still a long ways away, but for the past several years the conference has represented one of my biggest motivators. There's a combined benefit of a hard deadline and a large potential audience, and the fusion of the two makes for some excellent driving force. I intend to do another one of my release demo kits for GDC 2011, but the actual scope and content of that kit depends a lot on what I manage to rebuild between now and then.

Ideally I'd like to show some net progress beyond R9 which debuted at GDC 2010; something like a simple game implemented in Epoch using the GDI would be awesome. I'm going to want to settle on a goal soon so that I know what to aim for - and the more ambitious the goal, the more likely I am to actually try and get it done as efficiently as possible.

I already had to dissuade myself from getting side tracked writing debugging tools and other goodies for the language, because the core just isn't up to speed yet, and I need to get that done before playing with fun toys. So if I have a stretch goal set up for the GDC 2011 demo kit, I'll have plenty of reason to stay focused and only deliver the stuff that really needs to be worked on. The tricky bit will be drawing the line between stuff that's just cool to have, and stuff that's so cool to have that I really need it in the demo kit.

Anyways... enough ranting again. Back to work!
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!