🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Second Post!!!

posted in The Broken Mind
Published February 28, 2006
Advertisement
So this is my second post! Since I probaly wont beable to post a pic of a demo of my engine till this weekend, or get started on rewriting it really, I guess I will post some stuff other than that until then.

Heres some info on a language I wrote a while ago, it takes a lot from C and uses Lisp's Lists. Heres a hello world and list example:
//Hello world:main ={      print ("Hello, World!")}// Example of a list:exampleOfAList = {  list1 = (5,3,'a',"hello")  list2 = (main@, list1, 5)  //An example of everything is data..} //see the main in list2? Thats a function we defined above but everything is data!


Everything is treated as data in this language. Variables, functions, code, are all the same. All functions take 1 parameter, a list. There are also no types and in the interpreter I wrote for this language, I also used a bignum datatype lib I wrote. (if you dont know, bignums are virtual variables that allow for virtually any size, limited by your memory not by the processor's built in sizes).

Let me know if you want to see more about this language or more about my other languages. Tomorow I will probaly post about my raytracing optimization idea that I had, though I havnt implemented it. Doubt I will, I dont know that much about ray tracers but I want to see what you guys think about it.
Later!
Previous Entry My first Entry
Next Entry Seeing Double
0 likes 4 comments

Comments

Rob Loach
Yay scripting!
February 28, 2006 06:20 PM
nolongerhere
It a programming language actually, its just interpreted. (im guessing thats why you called it a scripting language?)
February 28, 2006 06:22 PM
Samsonite
How do you develop these languages? Is it hard? Is it time consuming?

Seems like a nice thing to do [smile].
March 01, 2006 09:34 AM
nolongerhere
Its pretty time consuming yea and it can get hard if you want to make a complex language or want a compiler that outputs really optimized code. I might post the source to one of my compilers I made.
March 01, 2006 03:19 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement

Latest Entries

26 Games 26 Weeks

1702 views

Celenite

1245 views

Im back...again!

1092 views

Tunnel Syndrome

1389 views

Borderlands

1274 views

First Flash Game

1064 views

First Flash Game

1364 views

Bullet holes? Yum!

1177 views

Game 2

1125 views

New Project

985 views
Advertisement