-
Language Parser
Hello Friends,
A buddy and I recently decided that we would attempt to write a sort of computer language that used a VB interface to accept the code and then parse and run it behind the scenes...
What we would basically need is to have the user input (probably into a multi-line textbox) to be parsed and then translated into actually vb code and then ran.
From what I have been able to figure out, the actual running of the code will be linear and will probably be function/sub based.
Any help or direction that you all can give me would be awesome (tutorials, websites)...
Oh, one more thing... We will probably want to eventually have these scripts be compiled into a standalone executable...
Is this possible to do in VB?
Thanks,
Squirrelly1
-
This should help you figure out some important steps . It's in C# but easy to follow .http://www.codeproject.com/info/sear...d=7%2F6%2F2004
Luck . ;)
-
Thanks Pirate,
I took a look at it and it might be exactly what I need if you would answer a quick question...
Can you try and get it to work :p lol... I tried porting it over to VB... I can get it to compile w/o any errors, but beyond that is hopeless...
Thanks,,
Squirrelly1
-
I didn't try the code but I think you need to spend more time to uncover secrets...:D . Start by simple stuff and develop it till you get your goal .