Creating a Programming Language using Visual Basic
Create the simplest programming language by using if statements.
First Make two textbox and combine both so that it is not visible.
(If wanted make more textbox)
Then Make a Button with label Run (Add the code below and expand it.)
if textbox1.text = “MsgBox” then
Msgbox(textbox2.text,,”Example Intrepreter”)
elseif textbox1.text = “InputBox”
Inputbox(textbox2.text,,”example compiler”)
endif
You can replace Example Compiler with name of your programming language make like this functions and make a simplest compiler.
I am not expert in vb so i don’t know the real way to make intrepreter with vb. I think there is no way to make a intrepreter in vb.