Page 1 of 9

Scripting Language development

Posted: Sat Apr 14, 2012 6:39 pm
by tappatekie
Hey guys, I would like to tell you about my new programming (scripting) language that I am developing, it is called Plywood and I am making a YouTube series "Programming Language Development" on Super4Programming channel.

This project is now stale, you can download the source here: http://www.sendspace.com/file/5gqpdm

This script language is developed into a interpreter which is pretty much working, I just need to decide what else the language needs (as well as fixing gliches).

More information:
Youtube channel: Super4Programming
Programming language name: (codename)Plywood
Functionality:
  • Iterations (while, for and foreach)
    Logical expressions e.g if(((1*1*(1+(1*0))))==1||2==2||(3+1>2)) { }
    Hex, binary and decimal support (including base conversions from either 3) (im including octal very soon (base 8))
    String/Decimal/Integer definitions
    Calculation supported (^^ probably guessed from the logical expression...)
    File system (my own and the host file system), console, math, array (with sorting :D), string and registry functions included
    Include other scripts
    Delegation
    Comments (blocked and single line)
    Security (turn access to functions on and off)
    Multithreading support
    Arrays
    Methods
    Any numerical value is supported (way over 256bit integers)
    Win32 library call support
    Common Language Runtime support
    Multi-platform (thanks to Mono)
    Compiler (EXTREMELY EARLY YET...)
Some example code (a bit similar to c# (if, while and for...))

Code: Select all

//Define the integers to read to
def n1 = 0
def n2 = 0

//Get the user inputed numbers
print("Number 1 < ")
n1 = readl()
print("Number 2 < ")
n2 = readl()

//Add the number together (printl = print line)
printl("The sum of " & n1 & " and " & n2 & " is " & (n1+n2))

//Loop from n1 to n2
for(def j = n1, j != n2, j = j + 1) { 
       printl("Counted to " & j)
       
       //First?
       if(j == n1) { 
             printl("This is the first entry!")
       }
}

//Jump to the third line
goLine(2)
Here is a console dump of that script being interpreted

Code: Select all

Number 1 < 0
Number 2 < 5
The sum of 0 and 5 is 5
Counted to 0
This is the first entry!
Counted to 1
Counted to 2
Counted to 3
Counted to 4
Number 1 <
So would you guys be interested in seeing this language in action?

Re: Development video on youtube

Posted: Sun Apr 15, 2012 10:38 am
by Falco Girgis
You're developing your own scripting language? Hell yeah, we want to see it!

Re: Development video on youtube

Posted: Sun Apr 15, 2012 11:59 am
by tappatekie
Falco Girgis wrote:You're developing your own scripting language? Hell yeah, we want to see it!
Il get cracking on the video development soon :D, once I have planned what to do in it :P and get the language to a degree where I am happy with it being shown off (e.g having cool functions and syntax)

Re: Development video on youtube

Posted: Sun Apr 15, 2012 12:15 pm
by Zer0XoL
Cool, looking forward to a video. :)

Re: Development video on youtube

Posted: Mon Apr 16, 2012 1:05 pm
by VolsporTV
Make this shit!

Re: Development video on youtube

Posted: Mon Apr 16, 2012 2:01 pm
by tappatekie
VolsporTV wrote:Make this shit!
I admire your impatience dear elysian shadows forum user :P

Re: Development video on youtube

Posted: Mon Apr 16, 2012 2:32 pm
by VolsporTV
tappatekie wrote:
VolsporTV wrote:Make this shit!
I admire your impatience dear elysian shadows forum user :P
Haha, indeed, xD

Re: Development video on youtube

Posted: Mon Apr 16, 2012 3:49 pm
by dandymcgee
tappatekie wrote:
VolsporTV wrote:Make this shit!
I admire your impatience dear elysian shadows forum user :P
How does it feel sharing the spotlight? As a great man once said, "Get the fuck back to work, gentlemen!"

Re: Development video on youtube

Posted: Mon Apr 16, 2012 4:27 pm
by VolsporTV
How does it feel sharing the spotlight? As a great man once said, "Get the fuck back to work, gentlemen!"
That means you too! I have to do finals then it's full blown toolkit development.

Re: Development video on youtube

Posted: Tue Apr 17, 2012 6:27 am
by tappatekie
dandymcgee wrote:
tappatekie wrote:
VolsporTV wrote:Make this shit!
I admire your impatience dear elysian shadows forum user :P
How does it feel sharing the spotlight? As a great man once said, "Get the fuck back to work, gentlemen!"
I'm in the spotlight?

Re: Development video on youtube

Posted: Tue Apr 17, 2012 11:54 am
by dandymcgee
tappatekie wrote:I'm in the spotlight?
People are demanding your video, so yes. Done yet? Why not? NEED MOAR VIDEOZZ.

Re: Development video on youtube

Posted: Tue Apr 17, 2012 12:03 pm
by tappatekie
dandymcgee wrote:
tappatekie wrote:I'm in the spotlight?
People are demanding your video, so yes. Done yet? Why not? NEED MOAR VIDEOZZ.
Lol, erm, atm I don't have time yet (I got coll etc.. to actually work on the language) and secondly, I don't have the language to the level where I believe it should be shown off in a video.

EDIT:
Quick question about the video, would you guys prefer the text editor to have a black background (I use this all the time) in the video's or have it default white?

Re: Development video on youtube

Posted: Wed Apr 18, 2012 8:27 am
by THe Floating Brain
This looks awesome! :mrgreen:
tappatekie wrote: Quick question about the video, would you guys prefer the text editor to have a black background (I use this all the time) in the video's or have it default white?
Depends on what shows up better.

Re: Development video on youtube

Posted: Wed Apr 18, 2012 10:43 am
by tappatekie
Heres a teaser :D
Its a preview of the programming language source code in C# not the actual programming language..

Re: Development video on youtube

Posted: Wed Apr 18, 2012 11:01 am
by tappatekie
@The Floating Brain:
erm.. No idea why your post was deleted? but the answer is, I prefer having private members on top of public to basically say, these public functions use these private functions.