Discuss Scratch

WojtekGame
Scratcher
1000+ posts

<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source

make it as C, as for C/C++ will be used to it


forgot to update sig, i own minecraft months ago lol
JS: code-gui | scratch-player | Roost.js | Pandoa | TOP: Roost.js || C++: Gamine | Gamiinuu | TOP: Gamine
Else: Emoji Painter | Forum Shopping Mall | TOP: Emoji Painter || Profile:Scratch | GitHub
Orgs: Chroast | Twerkish | Komond OS | JS Inventions | TOP: JS Inventions || Ocular Naming: 0 | 1 | 2 | 3
Games: Mom Hid My Game! | Creeper Adventuring
else might be outdated or removed by the ST.
ThatCoder77471
Scratcher
1000+ posts

<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source

Redstone1080 wrote:

(#240)

ThatCoder77471 wrote:

I'm considering dropping the C# port and making it in C++ instead.

Yes, I did figure out how to call a file selection dialog in C++, however, it's only available for Windows. In order for this to be cross-platform, I'll probably have to drop the TUI (Terminal User Interface) style of ScratchLang, and make it a command-line-based program instead. For example,
scratchlang --decompile C:\\Users\\me\\project.sb3 -o C:\\Users\\me\\slprojects\\project1
would be how you would decompile a project.

This applies to C# as well, in order for it to be cross-platform software I would have to do the same thing.
the Rustaceans are coming…
I forgot rust exists

I remember wanting to learn it at one point, but the syntax looks even more complicated than C++

Last edited by ThatCoder77471 (March 27, 2023 23:30:36)



A Terminal-Based Scratch Programmer for Windows and Linux


Also,
osu!lazer



ThatCoder77471
Scratcher
1000+ posts

<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source

Development is a little slow since I've been working on other things, but I'll try to work on this project a little more

I'm just trying to look for a library that'll help me create a zip archive
(I've tried libzip and minizip so far, minizip failed and I'm still experimenting with libzip)

Last edited by ThatCoder77471 (April 21, 2023 18:48:24)



A Terminal-Based Scratch Programmer for Windows and Linux


Also,
osu!lazer



ThatCoder77471
Scratcher
1000+ posts

<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source

ThatCoder77471 wrote:

(#243)
Development is a little slow since I've been working on other things, but I'll try to work on this project a little more

I'm just trying to look for a library that'll help me create a zip archive
(I've tried libzip and minizip so far, minizip failed and I'm still experimenting with libzip)
I've figured out how to create an archive, so I've resumed development on the C++ port. I have the repo posted but I don't really want anyone to contribute anything yet cause I'm still working on stuff

Plus there's extra headers/dlls/libraries I forgot to add/delete so you wouldn't be able to compile it anyway


A Terminal-Based Scratch Programmer for Windows and Linux


Also,
osu!lazer



ThatCoder77471
Scratcher
1000+ posts

<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source

Development is going really well :D

I've gotten the decompiler working and now I just need to add the blocks.

Also, what would you guys like to see in ScratchLang?

Last edited by ThatCoder77471 (May 24, 2023 18:38:54)



A Terminal-Based Scratch Programmer for Windows and Linux


Also,
osu!lazer



WojtekGame
Scratcher
1000+ posts

<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source

ThatCoder77471 wrote:

Development is going really well :D

I've gotten the decompiler working and now I just need to add the blocks.

Also, what would you guys like to see in ScratchLang?
the unzipper flag to just do the same but unzip it (aka renaming sb3 to zip (only file extension, not whole project name (figure out how do get that)))

ThatCoder77471 wrote:

Redstone1080 wrote:

(#240)

ThatCoder77471 wrote:

I'm considering dropping the C# port and making it in C++ instead.

Yes, I did figure out how to call a file selection dialog in C++, however, it's only available for Windows. In order for this to be cross-platform, I'll probably have to drop the TUI (Terminal User Interface) style of ScratchLang, and make it a command-line-based program instead. For example,
scratchlang --decompile C:\\Users\\me\\project.sb3 -o C:\\Users\\me\\slprojects\\project1
would be how you would decompile a project.

This applies to C# as well, in order for it to be cross-platform software I would have to do the same thing.
the Rustaceans are coming…
I forgot rust exists

I remember wanting to learn it at one point, but the syntax looks even more complicated than C++
c++ > rust but if safety then you flip the <.


forgot to update sig, i own minecraft months ago lol
JS: code-gui | scratch-player | Roost.js | Pandoa | TOP: Roost.js || C++: Gamine | Gamiinuu | TOP: Gamine
Else: Emoji Painter | Forum Shopping Mall | TOP: Emoji Painter || Profile:Scratch | GitHub
Orgs: Chroast | Twerkish | Komond OS | JS Inventions | TOP: JS Inventions || Ocular Naming: 0 | 1 | 2 | 3
Games: Mom Hid My Game! | Creeper Adventuring
else might be outdated or removed by the ST.
BreadcatGames
Scratcher
1000+ posts

<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source

deleted

Last edited by BreadcatGames (May 24, 2023 18:58:59)

ThatCoder77471
Scratcher
1000+ posts

<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source

WojtekGame wrote:

(#246)

ThatCoder77471 wrote:

Development is going really well :D

I've gotten the decompiler working and now I just need to add the blocks.

Also, what would you guys like to see in ScratchLang?
the unzipper flag to just do the same but unzip it (aka renaming sb3 to zip (only file extension, not whole project name (figure out how do get that)))
That would be pretty useless since you could just change the extension via a file explorer.


A Terminal-Based Scratch Programmer for Windows and Linux


Also,
osu!lazer



ajskateboarder
Scratcher
1000+ posts

<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source

Is there really much of a reason to rewrite it in C++
ThatCoder77471
Scratcher
1000+ posts

<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source

ajskateboarder wrote:

Is there really much of a reason to rewrite it in C++
Cross platform is easier in C++, plus I wanted to get better at the language as well.

lets just hope I dont quit on the C++ version and try to rewrite it in some obscure language like Lua

Last edited by ThatCoder77471 (May 30, 2023 06:43:40)



A Terminal-Based Scratch Programmer for Windows and Linux


Also,
osu!lazer



ajskateboarder
Scratcher
1000+ posts

<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source

ThatCoder77471 wrote:

ajskateboarder wrote:

Is there really much of a reason to rewrite it in C++
Cross platform is easier in C++, plus I wanted to get better at the language as well.
Fair
WojtekGame
Scratcher
1000+ posts

<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source

ThatCoder77471 wrote:

WojtekGame wrote:

(#246)

ThatCoder77471 wrote:

Development is going really well :D

I've gotten the decompiler working and now I just need to add the blocks.

Also, what would you guys like to see in ScratchLang?
the unzipper flag to just do the same but unzip it (aka renaming sb3 to zip (only file extension, not whole project name (figure out how do get that)))
That would be pretty useless since you could just change the extension via a file explorer.
some people don't know how to rename a file, on the GUI or terminal/CMD.


forgot to update sig, i own minecraft months ago lol
JS: code-gui | scratch-player | Roost.js | Pandoa | TOP: Roost.js || C++: Gamine | Gamiinuu | TOP: Gamine
Else: Emoji Painter | Forum Shopping Mall | TOP: Emoji Painter || Profile:Scratch | GitHub
Orgs: Chroast | Twerkish | Komond OS | JS Inventions | TOP: JS Inventions || Ocular Naming: 0 | 1 | 2 | 3
Games: Mom Hid My Game! | Creeper Adventuring
else might be outdated or removed by the ST.
ajskateboarder
Scratcher
1000+ posts

<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source

WojtekGame wrote:

some people don't know how to rename a file, on the GUI or terminal/CMD.
If you are going to go all this way to use a text-based version of Scratch, you should know how to rename a file
ThatCoder77471
Scratcher
1000+ posts

<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source

ajskateboarder wrote:

(#253)

WojtekGame wrote:

some people don't know how to rename a file, on the GUI or terminal/CMD.
If you are going to go all this way to use a text-based version of Scratch, you should know how to rename a file
This.


A Terminal-Based Scratch Programmer for Windows and Linux


Also,
osu!lazer



WojtekGame
Scratcher
1000+ posts

<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source

ajskateboarder wrote:

WojtekGame wrote:

some people don't know how to rename a file, on the GUI or terminal/CMD.
If you are going to go all this way to use a text-based version of Scratch, you should know how to rename a file
I know how to, only in the GUI one though, i don't know how to rename files in CMD, however i know (kinda) how to rename a file with a Node.js script, however this is unrelated.


forgot to update sig, i own minecraft months ago lol
JS: code-gui | scratch-player | Roost.js | Pandoa | TOP: Roost.js || C++: Gamine | Gamiinuu | TOP: Gamine
Else: Emoji Painter | Forum Shopping Mall | TOP: Emoji Painter || Profile:Scratch | GitHub
Orgs: Chroast | Twerkish | Komond OS | JS Inventions | TOP: JS Inventions || Ocular Naming: 0 | 1 | 2 | 3
Games: Mom Hid My Game! | Creeper Adventuring
else might be outdated or removed by the ST.
ThatCoder77471
Scratcher
1000+ posts

<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source

WojtekGame wrote:

(#255)

ajskateboarder wrote:

WojtekGame wrote:

some people don't know how to rename a file, on the GUI or terminal/CMD.
If you are going to go all this way to use a text-based version of Scratch, you should know how to rename a file
I know how to, only in the GUI one though, i don't know how to rename files in CMD, however i know (kinda) how to rename a file with a Node.js script, however this is unrelated.
Knowing how to rename a file in via GUI is still knowing how to rename a file.


A Terminal-Based Scratch Programmer for Windows and Linux


Also,
osu!lazer



ThatCoder77471
Scratcher
1000+ posts

<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source

BTW I haven't been developing this lately cause I got loads of other things to do, and I get distracted. One day I'll get back to it.

Also what scratch is purple now?! I haven't been here in a long time lol


A Terminal-Based Scratch Programmer for Windows and Linux


Also,
osu!lazer



ThatCoder77471
Scratcher
1000+ posts

<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source

Will anyone actually use this if I do finish it


A Terminal-Based Scratch Programmer for Windows and Linux


Also,
osu!lazer



Redstone1080
Scratcher
1000+ posts

<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source

ThatCoder77471 wrote:

Will anyone actually use this if I do finish it
Yeah, I just might lol

const juniper = programmer && musician;
// my pronouns are she/her
// i am trans and bi :P
// you can call me june or juni for short but i prefer juniper
python version:
juniper = programmer and musician
# my pronouns are she/her
# i am trans and bi :P
# you can call me june or juni for short but i prefer juniper
ThatCoder77471
Scratcher
1000+ posts

<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source

I don't have a lot of time to work on this anymore so it probably won't be finished for a while.


A Terminal-Based Scratch Programmer for Windows and Linux


Also,
osu!lazer



Powered by DjangoBB