hot  /  reviews  /  video  /  blogs  /  forum

FRESH MEAT  
|   FROM OUR COMMUNITY BLOGS

4:23 PM on 04.02.2010 // doctor insidious
Getting back to work and all that (NVGR)

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.
Tagged:    cblog  

Get comment replies by email.     settings



Unsavory comments? Please report harassment, spam, and hate speech to our comment moderators

Can't see comments? Anti-virus apps like Avast or some browser extensions can cause this. Easy fix: Add   [*].disqus.com   to your security software's whitelist.







Back to Top