Continuing the discussion from This Siri Shortcut Can Modify your Projects | 𝓐𝔀𝓮𝓼𝓸𝓶𝓮_𝓔:
This is a concept that I’ve been thinking about for a little while, that has recently been brought up by @Awesome_E on the forum. I just wanted to go over some design focuses and present why this would be an amazing idea for the modding community!
Have you ever wondered how Awesome_E’s Siri Shortcuts work? Here’s a simple answer: code automation! If we had the ability to automatically copy and paste code with different parameters, you get access to powerful utilities, like the ability to generate music from files.
This means that you can copy and paste huuuge sections of code if you wanted to, and you could give parameters to each section to customize the output! For example, if you wanted to draw a trail in a certain way, but every color has to be different.
This already exists for JSON developers–the only people that can automate code like this are low-level JSON developers who know how to use blocks. A programming language would let everyone learn how to make hacks (providing a higher level abstraction to JSON) and would allow novice coders to try their hand at coding one.
Have you ever wanted to use code for platforming, or 3D rendering code? Since Hopscript would be fully extendable by the community, we could add new features like functions and libraries. They would be fully modular, meaning that you could import them as objects and remove them any time you’d like to!
Code libraries made with Hopscript could be stored on GitHub, so anyone who finds a bug in a library can fix it, and then make a request to push it to the original library project!
Is there a feature of a built-in from another language which you really feel should’ve been added to the app? No fear! - Hopscript is an openly-designed language, and libraries would allow for easy integration of these features! You’d also be able to suggest new features for the language.
These shouldn’t be confused with the recent tease of code libraries integrated into the Hopscotch app – this feature in Hopscotch has not been officially confirmed whatsoever. Code libraries made in Hopscript would be integrated to the language and separated from the app, and/or the app library features will be combined when that update is released.
Hopscript would be an amazing and educational gateway language to programming, to bridge fundamental concepts between the block coded language and the real world of software development. It would be a great entrypoint for any kid to make something visual with a typed interface for the first time.
Seeing your typed code do something for the first time can be an amazing feeling. Hopscotch is an extremely responsive language – you can make a character move around and jump in just minutes! And for advanced coders, this means everything; testing your project could never be easier or more fun in any other language. Bringing this concept of responsiveness and quick compilation to Hopscript introduces a huge possibility that not many other typed programming languages could get close to. Programmers can make real visually rendered projects in just minutes with a robust typed language.
I’ve always wanted to use Hopscotch on a computer!
Bridging Hopscotch out to other platforms has always been a challenge. Hopscotch Team has stated that they don’t have the means to make an Android app. However, lately with the amazing work of @Awesome_E, things have started to change! Hopscotch projects are now fully viewable and integrated with desktop and mobile web browsers.
It’s time to bring Hopscotch coding to all desktop platforms! Hopscript would be a community-driven project, meaning that the coders that are interested in seeing the language evolve would work to make it the best it can be.
The JSON format is a low level format, used for interpreting Hopscotch projects in a visual environment. It’s really not a convenient or easily-readable format. Bringing readable, compileable Hopscotch projects to GitHub would innovate with the potential for collaboration on projects.
Integrating to GitHub means that a typed language would allow for full version control, allowing for easy-to-follow code changes. It would also allow for huge strides to be made with collaboration between Hopscotchers!
If you’re going to write code, you’ve got to have it run, right? No fear at all - the compiler for this programming language would be created by the community,
This language doesn’t exist yet – it’s been discussed only as a concept. But with the help of designers and engineers on the forum, I’m sure we can put something together!