Page 1 of 1

Homemade Programming language ft. VB.NET

Posted: Sun Feb 05, 2012 5:46 pm
by bisnes_niko
Well hello there,

I haven't been posting any threads or being so active on CnS or programming.

Well, I've got back into programming once again, so I'm working on a fun time wasting project: homemade programming language ft. vb.net

Yes... it's a programming language developed/being developed by using vb.net (v2010 w/ framework 4)

I'm currently working on the coding section, so this is just somekind of application to run the code, you will also see the syntax:
preview.PNG
This is just a simple program to write and read text file.

I'm gonna add the source code for free here once I've add some other stuff into it.

Thanks :ugeek:


--- ---- --- --- --- --- --- ---- --- --- --- ---
This is a section to update what have I done with my lil' program:
--- ---- --- --- --- --- --- ---- --- --- --- ---
Code: Select all

- $DATA-HOLDER$:Variable=Value

- SET_GLOBAL_SETTING:[Setting, Value, InstanceName]

- INCREMENTAL:[Value1,Value2,SET_DATA-HOLDER$Variable]

- IO.WRITEFILE:[FileName,Content]

- IO.READFILE:[FileName,To]

- <GET_DATA-HOLDER$Variable>

- SET_DATA-HOLDER$Variable$Value

- CREATE_MAIN-MENU:[File$Nothing,Exit$funcExit§Help$Nothing,About$funcAbout]

Lang Project.rar

Re: Homemade Programming language ft. VB.NET

Posted: Sun Feb 05, 2012 6:25 pm
by MrAksel
Looks nice :D Will you be able to compile to assemblies later in the project?
Edit: Why do you have hexadecimal numbers infront of some of the parameters?

Re: Homemade Programming language ft. VB.NET

Posted: Sun Feb 05, 2012 8:15 pm
by Axel
MrAksel wrote:
Looks nice :D Will you be able to compile to assemblies later in the project?
Edit: Why do you have hexadecimal numbers infront of some of the parameters?
How else would it know what control it has to be ?

Re: Homemade Programming language ft. VB.NET

Posted: Sun Feb 05, 2012 8:27 pm
by MrAksel
Okay, didnt get that at once :P

Re: Homemade Programming language ft. VB.NET

Posted: Sun Feb 05, 2012 8:57 pm
by comathi
Looks nice :D What are you going to call your new language?

Re: Homemade Programming language ft. VB.NET

Posted: Sun Feb 05, 2012 9:55 pm
by bisnes_niko
I don't know if I go far with this... I always quit on something.

But I managed to get $DATA-HOLDER$:Variable=Value to work, like:
Code: Select all
$DATA-HOLDER$:FilePath=textfile.txt
$DATA-HOLDER$:FileContent=this is the content

$FUNCTION$:WriteToFile
[
IO.WRITEFILE:[<GET_DATA-HOLDER$FilePath>,<GET_DATA-HOLDER$FileContent>]
POP-UP:0x1[Your file has been written.,Nice!]
]

So it's basically storing and reading a string or integer from the code. :) Lots of stuff in my head

Re: Homemade Programming language ft. VB.NET

Posted: Mon Feb 06, 2012 4:06 am
by comathi
Well, it seems to be coming along pretty nicely :D Keep up the tremendous work :)