Gaming News, Game Reviews, Game Trailers, Tech News



 
doctor insidious blog header photo
doctor insidious
Posts 0Blogs 23Following 12Followers 10


 
 








On Destructoid:
Most Comments

more notable stories

FAQ

Who updates the homepage?
Our Staff
What is Destructoid?
Long story
Can I submit a story?
#BloggersWanted
Dark theme?
Yep
Site rules?
Douche lightly
Ethics much?
Read this
Privacy?
Common sense
Who owns my posts?
You do


Get in touch

Editorial contacts
Meet our staff
Ask a question
Community@
Get support
Support@
Story idea?
Tips@
Everything else
Get in touch

LONG BLOG

Getting back to work and all that (NVGR)

   0
Take note, most of this won't make sense to you if you haven't read any of my previous blogs.

Well, Wondercon's tomorrow. It's actually today, but no one ever goes on a Friday, plus I have school, so I'm going tomorrow. I'm pretty psyched.
But that is not what I wanted to talk about, no, I wanted to talk about something much different.
God I'm tired. I guess school does that too you.
(I don't want to talk about that either).
As some of you know, I am, or was, programming a game engine. I think the last post I did on it was a while back, and in that post I showed you a bit of the language I was creating.
As good at programming as I may have sounded in that article, I was shit at it, and because of that I have scrapped that project and I am now, under the sponsorship of the school (the class I am in now's main homework assignment is pretty much "do what ever you want"), I am working on it again. The previous language I had written was horrible, it used a stack of 1000 variables, the syntax was unbearable, and I didn't expect anyone to use it. I didn't even know how to use malloc, much less pointers. The new language I am creating (a very large amount is done), in contrast, is very, very, good (excuse my humility). No, it's not that good, but it does employ some very fucking clever shit for OOP and arrays, which I will tell you about as soon as it's implemented, is garbage collected, and supports multithreading. Anyway, here is a sample piece of code for you, one that I will probably spend 10 minutes on. All for you. Lucky bastards.

# In file main.rua This is a comment.
useLib("C_library.so");
defunc addFive(* def aPointer)
{
abcd(= aPointer + aPointer 5);
}
defunc returnAddFive(def aLocalVar)
{
abcdreturn (+ aLocalVar 5);
}

(= def notInAFunc (* rand() 100));

addFive(notInAFunc);
if (|| (&& (!= notInAFun 5) (> 3 notInAFunc)) (== notInAFunc 2.667)
{
abcdprint("What?");
}

And there are else statements and whatever. God I'm tired.
Login to vote this up!


 
 

  0 COMMENTS

Please login (or) make a quick account (free)
to view and post comments.



 Login with Twitter

 Login with Dtoid

Three day old threads are only visible to verified humans - this helps our small community management team stay on top of spam

Sorry for the extra step!

 

About doctor insidiousone of us since 5:40 PM on 02.16.2009

Hi, my name is Matt, but you can call me doctor insidious, because that is much more awesome.
My top ten games:
10. SBCG4AP
9. Sam and Max
8. Gears 2
7. Tap Tap Revenge
6. We <3 Katamari
5. Castle Crashers
4. Persona 3
3. Braid
2. Crayon Physics
1. Cave Story

I am one of the few people who actually know how to program in this world. And by program I mean know how to use pointers.

#include <stdio.h>

#define COCKS 0

int main (int argc, char **argv)
{
printf("Hi I'm doctor insidious\n"
"This is the most useless program I have ever seen\n");
return COCKS;
}
 



Read Huge: Top Stories

Destructoid