Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » <ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source
- 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
(#240)I forgot rust existsthe Rustaceans are coming… 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,would be how you would decompile a project.scratchlang --decompile C:\\Users\\me\\project.sb3 -o C:\\Users\\me\\slprojects\\project1
This applies to C# as well, in order for it to be cross-platform software I would have to do the same thing.
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)
- 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)
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)
- ThatCoder77471
- Scratcher
1000+ posts
<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source
(#243)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
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)
Plus there's extra headers/dlls/libraries I forgot to add/delete so you wouldn't be able to compile it anyway
- ThatCoder77471
- Scratcher
1000+ posts
<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source
- WojtekGame
- Scratcher
1000+ posts
<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source
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))) 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?
c++ > rust but if safety then you flip the <.(#240)I forgot rust existsthe Rustaceans are coming… 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,would be how you would decompile a project.scratchlang --decompile C:\\Users\\me\\project.sb3 -o C:\\Users\\me\\slprojects\\project1
This applies to C# as well, in order for it to be cross-platform software I would have to do the same thing.
I remember wanting to learn it at one point, but the syntax looks even more complicated than C++
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
(#246)That would be pretty useless since you could just change the extension via a file explorer.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))) 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?
- 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
Cross platform is easier in C++, plus I wanted to get better at the language as well. Is there really much of a reason to rewrite it in C++
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)
- ajskateboarder
- Scratcher
1000+ posts
<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source
FairCross platform is easier in C++, plus I wanted to get better at the language as well. Is there really much of a reason to rewrite it in C++
- WojtekGame
- Scratcher
1000+ posts
<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source
some people don't know how to rename a file, on the GUI or terminal/CMD.(#246)That would be pretty useless since you could just change the extension via a file explorer.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))) 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?
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
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 some people don't know how to rename a file, on the GUI or terminal/CMD.
- ThatCoder77471
- Scratcher
1000+ posts
<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source
(#253)This.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 some people don't know how to rename a file, on the GUI or terminal/CMD.
- WojtekGame
- Scratcher
1000+ posts
<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source
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.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 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.
- ThatCoder77471
- Scratcher
1000+ posts
<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source
(#255)Knowing how to rename a file in via GUI is still knowing 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.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 some people don't know how to rename a file, on the GUI or terminal/CMD.
- ThatCoder77471
- Scratcher
1000+ posts
<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source
- ThatCoder77471
- Scratcher
1000+ posts
<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source
- Redstone1080
- Scratcher
1000+ posts
<ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source
Yeah, I just might lol Will anyone actually use this if I do finish it
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
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
- Discussion Forums
- » Advanced Topics
- » <ScratchLang()> - Scratch as a Text-Based Programming Language || Open-Source