Readit News logoReadit News
aspizu commented on The Mast – textured 3D Scratch game by awesome-Llama   awesome-llama.github.io/p... · Posted by u/aspizu
aspizu · 2 months ago
A textured 3D game set on a fictional planet. Explore highly detailed environments and structures and uncover the events that took place. Inspired by Infra and Rain World, among other things.
aspizu commented on The flip phone web: browsing with the original Opera Mini   spacebar.news/the-flip-ph... · Posted by u/protonbob
aspizu · 3 months ago
I found my old j2me phone lying around, tried using it as a daily driver for a while. wanted to browse geminispace so wrote a j2me gemini browser. maybe I should write a blog about my experience.
aspizu commented on Show HN: Goboscript, text-based programming language, compiles to Scratch   github.com/aspizu/goboscr... · Posted by u/aspizu
tantalor · 3 months ago
goboscript allows you to create advanced Scratch projects with ease, you can use any text editor, use a version control system such as git. You can refactor your code using search and replace. Text code can be copy pasted, which allows you to easily reuse code or share it with others. goboscript syntax is concise and easy to read.

goboscript allows you to integrate external tooling and workflows, such as using a script to generate costumes for a text rendering engine. Or loading in images into lists.

goboscript has a powerful macro system - similar to Rust's macro system. This allows you to write macros to generate code.

goboscript is more than just an 1:1 mapping of Scratch blocks to text, it also has additional features like local variables for procedures (custom blocks).

goboscript also performs optimizations, detects problems and unused code.

All of these new features are impossible in the visual programming paradigm.

aspizu · 3 months ago
> All of these new features are impossible in the visual programming paradigm.

I believe that to be not true. Visual paradigm allows for some interesting behaviours.

1. Integrate external tooling and workflows

This is just the result of the Scratch runtime being in the browser.

2. Macros

Okay, macros might seem very difficult in a visual paradigm, but its possible. And, in a visual paradigm, it would be very easy to visualize how macros transform the code. (You could have a pop-up that shows the expanded form of the macro)

3. Optimizations: Turbowarp is a Scratch mod that does JIT compilation with optimizations.

aspizu commented on Show HN: Goboscript, text-based programming language, compiles to Scratch   github.com/aspizu/goboscr... · Posted by u/aspizu
ferriswil · 3 months ago
Looks fantastic! Now it simply needs a non-Scratch runtime and a Scratch-like frontend, and we'll finally be able to teach bootstrapping to the 5-10 year old demographic.
aspizu · 3 months ago
adazem009 has been developing an alternative runtime for Scratch written in C++ [1]. It even uses compilation to speed-up the performance of Scratch projects, perfect runtime for goboscript projects.

[1]: https://github.com/scratchcpp/libscratchcpp

aspizu commented on Show HN: Goboscript, text-based programming language, compiles to Scratch   github.com/aspizu/goboscr... · Posted by u/aspizu
nis251413 · 3 months ago
Next step: create a visual programming language that compiles to goboscript.
aspizu · 3 months ago
You can kinda do this using sb2gs [1], which is a decompiler for goboscript. It turns Scratch projects into text-based goboscript projects automatically, for people who wish to work on their Scratch projects in goboscript without having to manually port their entire project to goboscript. Though, sb2gs isn't the best at decompiling everything properly, so a few manual edits are required.

[1]: https://github.com/aspizu/sb2gs

aspizu commented on Show HN: Goboscript, text-based programming language, compiles to Scratch   github.com/aspizu/goboscr... · Posted by u/aspizu
japanuspus · 3 months ago
Thank you for making this!

My initial take was to share this with my son who used to built all kinds of things in Scratch, but I know that the lack of simple install instructions will be a deal-breaker for him.

Given that (part of) your audience will be persons like my son graduating out of graphical programming in Scratch, it might be worth spending a little time on non-dev install instructions. Even more so as you can leverage the rust toolchain and just suggest something along `cargo install --git ...` [0], without even publishing as a crate.

Apologies if this comes across as entitled: I just want to communicate that a single README-sentence on top of the work you already put into this would make it significantly more accessible.

[0]: https://doc.rust-lang.org/cargo/commands/cargo-install.html

aspizu · 3 months ago
There are handful methods of installation documented in the documentation [1]. The easiest one being installing from git and cargo. For people who do not have the rust toolchain installed, the easiest method is to install pre-built binaries released on GitHub [2].

[1]: https://aspizu.github.io/goboscript/ [2]: https://aspizu.github.io/goboscript/install/#install-from-bi...

aspizu commented on Mystical   suberic.net/~dmm/projects... · Posted by u/mmphosis
aspizu · 3 months ago
This is neography meets conlang. Love it. I would really love to see a unique programming language that uses a constructed language with a beautiful script. I had the idea of making one but I never got around to it.

u/aspizu

KarmaCake day74April 21, 2024
About
https://aspizu.neocities.org/
View Original