This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-07-15 19:17:46

coolhogs
Scratcher
Registered: 2011-07-26
Posts: 1000+

How do I make a programming (code) language?

^^


Get ready for domination of:  tongue

Offline

 

#2 2012-07-15 19:22:11

Wes64
Scratcher
Registered: 2011-08-19
Posts: 1000+

Re: How do I make a programming (code) language?

Do you mean in Scratch? What aspects do you not understand? Or do you know nothing about it whatsoever?


Experienced 2.0 Tester: Ask me questions!
Using Firefox 13.0, Flash plugin version 11.4.402.287, and Windows XP Professional.

Offline

 

#3 2012-07-15 19:23:44

coolhogs
Scratcher
Registered: 2011-07-26
Posts: 1000+

Re: How do I make a programming (code) language?

Um...

In Scratch, yes...

I don't know anything, honestly...  tongue ...


Get ready for domination of:  tongue

Offline

 

#4 2012-07-15 19:40:50

coolhogs
Scratcher
Registered: 2011-07-26
Posts: 1000+

Re: How do I make a programming (code) language?

Can someone give me a guide?
Or something?


Get ready for domination of:  tongue

Offline

 

#5 2012-07-15 19:59:10

Wes64
Scratcher
Registered: 2011-08-19
Posts: 1000+

Re: How do I make a programming (code) language?


Experienced 2.0 Tester: Ask me questions!
Using Firefox 13.0, Flash plugin version 11.4.402.287, and Windows XP Professional.

Offline

 

#6 2012-07-15 20:57:07

coolhogs
Scratcher
Registered: 2011-07-26
Posts: 1000+

Re: How do I make a programming (code) language?

What does that have to do with programming languages?


Get ready for domination of:  tongue

Offline

 

#7 2012-07-15 21:00:19

Wes64
Scratcher
Registered: 2011-08-19
Posts: 1000+

Re: How do I make a programming (code) language?

Well programming languages would involve the manipulation of string data.


Experienced 2.0 Tester: Ask me questions!
Using Firefox 13.0, Flash plugin version 11.4.402.287, and Windows XP Professional.

Offline

 

#8 2012-07-15 21:01:48

coolhogs
Scratcher
Registered: 2011-07-26
Posts: 1000+

Re: How do I make a programming (code) language?

Um...
String data?
Manipulation?


Get ready for domination of:  tongue

Offline

 

#9 2012-07-15 21:32:51

Kajunkat
Scratcher
Registered: 2012-06-30
Posts: 37

Re: How do I make a programming (code) language?

More information is needed in your post.

Offline

 

#10 2012-07-15 21:45:33

coolhogs
Scratcher
Registered: 2011-07-26
Posts: 1000+

Re: How do I make a programming (code) language?

Kajunkat wrote:

More information is needed in your post.

Um...


Get ready for domination of:  tongue

Offline

 

#11 2012-07-16 13:28:07

coolhogs
Scratcher
Registered: 2011-07-26
Posts: 1000+

Re: How do I make a programming (code) language?

Bump


Get ready for domination of:  tongue

Offline

 

#12 2012-07-16 13:32:49

SciTecCf
Scratcher
Registered: 2011-11-23
Posts: 1000+

Re: How do I make a programming (code) language?

coolhogs, I know what you mean, but you need to give us an example of your code.

The code for the programming language relies heavily on it's syntax.


http://bit.ly/LCZEJRhttp://bit.ly/LSONcOhttp://bit.ly/LF3vIc
http://trinary.site40.net/images/scratchrank.php?username=SciTecCf&display=small

Offline

 

#13 2012-07-16 13:44:59

Borrego6165
Scratcher
Registered: 2011-03-10
Posts: 1000+

Re: How do I make a programming (code) language?

the problem is no way can you make one if you have no idea what you want. do you want the user to create simple things or complex things? also, is there any need in using a simple programming software to create a simple programming software?

btw nice idea IF scratch would be advanced enough to handle enough code


Generation:4001 Build a beautiful city, with over 50 objects and over 10000 tiles per city! This simulates traffic, pollution, tourism, crime and more!

Offline

 

#14 2012-07-16 13:57:44

coolhogs
Scratcher
Registered: 2011-07-26
Posts: 1000+

Re: How do I make a programming (code) language?

It's the [scratchblocks] code...


Get ready for domination of:  tongue

Offline

 

#15 2012-07-16 14:01:29

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: How do I make a programming (code) language?

Borrego6165 wrote:

the problem is no way can you make one if you have no idea what you want. do you want the user to create simple things or complex things? also, is there any need in using a simple programming software to create a simple programming software?

btw nice idea IF scratch would be advanced enough to handle enough code

It can, you can assign keywords etc to programming blocks, I'll try to do some now:

//iterative program to separate a line into individual words
if <[words v] contains [if]?>
if <(item (3 v) of [words v]) = (=)>
set [mode v] to [equals]
end
if <(item (3 v) of [words v]) = (>)> //scratchblocks wont let this line go properly
set [mode v] to [greaterthan]//etc
end
set [first value v] to (item [2 v] of [words v])
set [second value v] to (item [4 v] of [words v])
if <(mode) = (equals)>
if <(first value) = (second value)>
set [answer v] to (1)
else
set [answer v] to (0)
//etc for the other functions
If it was expanded this would allow a statement "if 5 > 3" and return true. It's just hard work

Last edited by zammer990 (2012-07-16 14:04:26)


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

Board footer