For all the questions about out of the ordinary ideas or projects on vb :)
Printable View
For all the questions about out of the ordinary ideas or projects on vb :)
A project i had been thinking of would be a large text input area, into which users can input their own code and then compile. kinda of like a mini no-install version of vb with somewhat limited features. let me know what u think or any ideas
A project i had been thinking of would be a large text input area, into which users can input their own code and then compile. kinda of like a mini no-install version of vb with somewhat limited features. let me know what u think or if u have any ideas
oops, posted twice...
if you want to compile VB code then you'll need VB compiler - if you're trying to write a scripting language then one already exists for VB (VBScript)
mm yes i meant more like a less powerful vb, you type your code (in VBScript) and then click compile it using the program
sorry, the program will compile the code the user inputs pretty much
You can't write a compiler in VB. Its literally impossible.
You can write a scripting language, quite easily. I uploaded one on here a while ago which was pretty basic called "CScript". Other than that, all you can make is an "IDE" for VBScript.
chem
oh......
could u maybe give me a reference to your language, or maybe some ideas on these IDE's?
My crappy script thing is here:
http://www.vbforums.com/showthread.p...hlight=CScript
I never got around to finishing it. Theres hundreds of scripting language examples on planetsourcecode.com. Some are better than others. Mine is the only one that allows for your own types though, from what I've seen. It's extremely badly coded, so try to see how I did it and improve :p
IDE's are programs that make writing code easier. Visual Studio is an IDE, and its what we use for programming in VB6 code. I said "IDE", because writing something similar for VBScript couldn't in any way, shape, or form be considered an actual IDE. To give you an idea though, it should just be a text editor, and if people wanted to run their scripts you save their scripts as .vbs files then Shell() them.
chem
lol well maybe ill have a look around as well as looking at yours...
I wouldn't go that far...I'm sure it is possible to do so if you had enough of an understanding of executables. Beyond our abilities though :-)Quote:
Originally Posted by chemicalNova