Discuss Scratch

mybearworld
Scratcher
1000+ posts

TextScratch - A programming language in Scratch.

gosoccerboy5 wrote:

bump
ok
pedrodrocafranco
Scratcher
500+ posts

TextScratch - A programming language in Scratch.

where the booleans and the reporters
notwait
Scratcher
100+ posts

TextScratch - A programming language in Scratch.

pedrodrocafranco wrote:

where the booleans and the reporters
it's UNFINISHED so maybe there isn't yet
pedrodrocafranco
Scratcher
500+ posts

TextScratch - A programming language in Scratch.

can add sensing blockys!
(loud)
<mouse presse>
(user name)
ask=
<if= touched you>
gosoccerboy5
Scratcher
1000+ posts

TextScratch - A programming language in Scratch.

Calm down, it's still very much a work in progress and he can't do everything at once.
mybearworld
Scratcher
1000+ posts

TextScratch - A programming language in Scratch.

gosoccerboy5 wrote:

Calm down, it's still very much a work in progress and he can't do everything at once.
Support
:P
Bump!
mybearworld
Scratcher
1000+ posts

TextScratch - A programming language in Scratch.

Making progress. For some reason I stopped with it - but I am currently having a “compile” function that compiles anything. Still only two commands…
The machine code for
me = Cat
wait 0.4
me = Dog
looks like
001
001
000
002
001
0.4
001
000
001
004
000
Now I just need to write something that actually executes this code.
Also there's errors now!

Last edited by mybearworld (Jan. 29, 2021 06:35:11)

mybearworld
Scratcher
1000+ posts

TextScratch - A programming language in Scratch.

Fixed

Last edited by mybearworld (Jan. 29, 2021 06:39:55)

gosoccerboy5
Scratcher
1000+ posts

TextScratch - A programming language in Scratch.

It's really cool that you made something to convert it to machine code, which I never would have thought of or been able to do

Last edited by gosoccerboy5 (Jan. 29, 2021 16:18:59)

mybearworld
Scratcher
1000+ posts

TextScratch - A programming language in Scratch.

gosoccerboy5 wrote:

Wow, I never would have thought of compiling it. If I made a language in Scratch I would have interpreted it, but who knows maybe compiling it is a better option (especially if @Greg8128 endorses it )
Ahahaha, absolutely no idea what the difference is…
pedrodrocafranco
Scratcher
500+ posts

TextScratch - A programming language in Scratch.

i created a test with text-scratch and resuted that

lol

Last edited by pedrodrocafranco (Jan. 29, 2021 16:15:33)

mybearworld
Scratcher
1000+ posts

TextScratch - A programming language in Scratch.

pedrodrocafranco wrote:

i created a test with text-scratch and resuted that
snip
lol
Yeah…no.
pedrodrocafranco
Scratcher
500+ posts

TextScratch - A programming language in Scratch.

mybearworld wrote:

pedrodrocafranco wrote:

i created a test with text-scratch and resuted that
snip
lol
Yeah…no.
it was resulted a animation
mybearworld
Scratcher
1000+ posts

TextScratch - A programming language in Scratch.

pedrodrocafranco wrote:

mybearworld wrote:

pedrodrocafranco wrote:

i created a test with text-scratch and resuted that
snip
lol
Yeah…no.
it was resulted a animation
Not possible simply using the list.
When I update it you won't even be able to do this as easy as using Scratch.
gosoccerboy5
Scratcher
1000+ posts

TextScratch - A programming language in Scratch.

Funny image, but it appears textscratch doesn't have the capability to do that yet.. right?
mybearworld
Scratcher
1000+ posts

TextScratch - A programming language in Scratch.

gosoccerboy5 wrote:

Funny image, but it appears textscratch doesn't have the capability to do that yet.. right?
Right. What's interpreting and what's the difference to compiling?
gosoccerboy5
Scratcher
1000+ posts

TextScratch - A programming language in Scratch.

From what I know, interpreting is directly executing the code, whereas compiling is first changing the code into a more easily executable form of code. (I might be wrong )
pedrodrocafranco
Scratcher
500+ posts

TextScratch - A programming language in Scratch.

w

mybearworld wrote:

pedrodrocafranco wrote:

mybearworld wrote:

pedrodrocafranco wrote:

i created a test with text-scratch and resuted that
snip
lol
Yeah…no.
it was resulted a animation
Not possible simply using the list.
When I update it you won't even be able to do this as easy as using Scratch.
it because a use same code but i edited the sprites of me
mybearworld
Scratcher
1000+ posts

TextScratch - A programming language in Scratch.

gosoccerboy5 wrote:

From what I know, interpreting is directly executing the code, whereas compiling is first changing the code into a more easily executable form of code. (I might be wrong )
And then there's me, struggling on executing the compiled code-
skymover1239
Scratcher
500+ posts

TextScratch - A programming language in Scratch.

mybearworld wrote:

gosoccerboy5 wrote:

From what I know, interpreting is directly executing the code, whereas compiling is first changing the code into a more easily executable form of code. (I might be wrong )
And then there's me, struggling on executing the compiled code-

Compile:
1:Loops through the code , and figures out what it does.
2:Runs it
3:Compilers use the real hardware

Interpreter:
1:Runs
2:Understands one command at a time then runs it
3:Uses simulated hardware

Powered by DjangoBB