Scripting Language development

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
tappatekie
Chaos Rift Junior
Chaos Rift Junior
Posts: 204
Joined: Mon Nov 21, 2011 3:01 pm
Current Project: Web browser from scratch
Favorite Gaming Platforms: SNES, PSP, PS1 and 3
Programming Language of Choice: C#
Location: A house near me
Contact:

Scripting Language development

Post 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?
Last edited by tappatekie on Tue Mar 12, 2013 1:40 pm, edited 18 times in total.
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: Development video on youtube

Post by Falco Girgis »

You're developing your own scripting language? Hell yeah, we want to see it!
tappatekie
Chaos Rift Junior
Chaos Rift Junior
Posts: 204
Joined: Mon Nov 21, 2011 3:01 pm
Current Project: Web browser from scratch
Favorite Gaming Platforms: SNES, PSP, PS1 and 3
Programming Language of Choice: C#
Location: A house near me
Contact:

Re: Development video on youtube

Post 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)
Last edited by tappatekie on Sun Apr 15, 2012 2:35 pm, edited 1 time in total.
User avatar
Zer0XoL
ES Beta Backer
ES Beta Backer
Posts: 54
Joined: Fri Apr 24, 2009 1:18 pm
Current Project: Zelda untitled multiplayer game
Favorite Gaming Platforms: PC, GBA, N64
Programming Language of Choice: C++, Lua
Location: Sweden
Contact:

Re: Development video on youtube

Post by Zer0XoL »

Cool, looking forward to a video. :)
Image
Im Blue
User avatar
VolsporTV
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 40
Joined: Wed Apr 11, 2012 12:18 pm
Current Project: The Void
Favorite Gaming Platforms: PC, NES, Dreamcast
Programming Language of Choice: C/++ and ByondScript
Location: Enid, OK

Re: Development video on youtube

Post by VolsporTV »

Make this shit!
tappatekie
Chaos Rift Junior
Chaos Rift Junior
Posts: 204
Joined: Mon Nov 21, 2011 3:01 pm
Current Project: Web browser from scratch
Favorite Gaming Platforms: SNES, PSP, PS1 and 3
Programming Language of Choice: C#
Location: A house near me
Contact:

Re: Development video on youtube

Post by tappatekie »

VolsporTV wrote:Make this shit!
I admire your impatience dear elysian shadows forum user :P
User avatar
VolsporTV
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 40
Joined: Wed Apr 11, 2012 12:18 pm
Current Project: The Void
Favorite Gaming Platforms: PC, NES, Dreamcast
Programming Language of Choice: C/++ and ByondScript
Location: Enid, OK

Re: Development video on youtube

Post by VolsporTV »

tappatekie wrote:
VolsporTV wrote:Make this shit!
I admire your impatience dear elysian shadows forum user :P
Haha, indeed, xD
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: Development video on youtube

Post 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!"
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
VolsporTV
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 40
Joined: Wed Apr 11, 2012 12:18 pm
Current Project: The Void
Favorite Gaming Platforms: PC, NES, Dreamcast
Programming Language of Choice: C/++ and ByondScript
Location: Enid, OK

Re: Development video on youtube

Post 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.
tappatekie
Chaos Rift Junior
Chaos Rift Junior
Posts: 204
Joined: Mon Nov 21, 2011 3:01 pm
Current Project: Web browser from scratch
Favorite Gaming Platforms: SNES, PSP, PS1 and 3
Programming Language of Choice: C#
Location: A house near me
Contact:

Re: Development video on youtube

Post 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?
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: Development video on youtube

Post by dandymcgee »

tappatekie wrote:I'm in the spotlight?
People are demanding your video, so yes. Done yet? Why not? NEED MOAR VIDEOZZ.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
tappatekie
Chaos Rift Junior
Chaos Rift Junior
Posts: 204
Joined: Mon Nov 21, 2011 3:01 pm
Current Project: Web browser from scratch
Favorite Gaming Platforms: SNES, PSP, PS1 and 3
Programming Language of Choice: C#
Location: A house near me
Contact:

Re: Development video on youtube

Post 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?
Last edited by tappatekie on Tue Apr 17, 2012 3:38 pm, edited 1 time in total.
User avatar
THe Floating Brain
Chaos Rift Junior
Chaos Rift Junior
Posts: 284
Joined: Tue Dec 28, 2010 7:22 pm
Current Project: RTS possible Third Person shooter engine.
Favorite Gaming Platforms: PC, Wii, Xbox 360, GAME CUBE!!!!!!!!!!!!!!!!!!!!!!
Programming Language of Choice: C/C++, Python 3, C#
Location: U.S

Re: Development video on youtube

Post 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.
"Why did we say we were going to say we were going to change the world tomorrow yesterday? Maybe you can." - Myself

ImageImage
tappatekie
Chaos Rift Junior
Chaos Rift Junior
Posts: 204
Joined: Mon Nov 21, 2011 3:01 pm
Current Project: Web browser from scratch
Favorite Gaming Platforms: SNES, PSP, PS1 and 3
Programming Language of Choice: C#
Location: A house near me
Contact:

Re: Development video on youtube

Post by tappatekie »

Heres a teaser :D
Its a preview of the programming language source code in C# not the actual programming language..
Attachments
teaser.png
teaser.png (18 KiB) Viewed 5376 times
Last edited by tappatekie on Wed Apr 18, 2012 11:03 am, edited 1 time in total.
tappatekie
Chaos Rift Junior
Chaos Rift Junior
Posts: 204
Joined: Mon Nov 21, 2011 3:01 pm
Current Project: Web browser from scratch
Favorite Gaming Platforms: SNES, PSP, PS1 and 3
Programming Language of Choice: C#
Location: A house near me
Contact:

Re: Development video on youtube

Post 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.
Post Reply