Welcome Guest.
Not a member yet? Why not sign up today and start posting on our forums.
[Source]Custom Lang. - Unfinished Interpreter
#1

Okay, so forloops (working like counting while loops) have been bugging me for weeks, so giving kinda up on my Interpreter project and decided to release it all. I will not explain the code seeing as it's over 3k lines of codes.

I have coded everything by myself and have used no resources.

Source:
http://pastebin.com/rrCupVdc
http://fuckforums.org/intepreter.txt

Usage:
  static void Main(string[] args)
  {
    Interpreter.Parse("main.cf", "std", "Start", "Main", "C:\\Code\\Test\\");
    Interpreter.Execute();
  }

main.cf is the main codefile
std is the default namespace
Start is the main class
Main is the main entry (within the main class)
C:\\Code\\Test\\ is the location of the codefiles

Code examples:
class MainClass
	int32 mi = 0
	function Execute()
		print __address
	end function
end class

class Start
	st_function Main()
		class myclass
		set myclass := std::MainClass
		call myclass.Execute()
		input
	end function
end class
class Start
	st_function Main()
		for i:0 < j:10 ++
			print "Hello World!"
		end for
		input
	end function
end class
class Start
	st_function Main()
		int32 myint = 100
		set myint += 55
		print myint
		input
	end function
end class
class Start
	st_function Main()
		str mystr = "Hello "
		set mystr += "World!"
		print mystr
		input
	end function
end class

Well good luck ^^
#2

I will post the source here then, it's just 3k lines...
Arghhh too long ,will upload as .txt
#3

Np mate, quite a lot of codes, so you'd most likely need to understand C# proper to actual use the code for anything.