Hacker News
24.1K subscribers
118K links
Top stories from https://news.ycombinator.com (with 100+ score)
Contribute to the development here: https://github.com/phil-r/hackernewsbot
Also check https://t.me/designer_news

Contacts: @philr
Download Telegram
Show HN: Goboscript, text-based programming language, compiles to Scratch (Score: 150+ in 17 hours)

Link: https://readhacker.news/s/6uHaR
Comments: https://readhacker.news/c/6uHaR

goboscript is a text-based programming language which compiles to Scratch. It allows you to write Scratch projects in text, and compile it into a .sb3 file - which can be opened in the Scratch editor, TurboWarp or be uploaded to the Scratch website.
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.
Show HN: Windows 98 themed website in 1 HTML file for my post punk band (Score: 150+ in 6 hours)

Link: https://readhacker.news/s/6uJY8
Comments: https://readhacker.news/c/6uJY8

Here's the code: https://github.com/ConorCorp/corp-website
Too Much Go Misdirection (Score: 150+ in 10 hours)

Link: https://readhacker.news/s/6uJw3
Comments: https://readhacker.news/c/6uJw3
What are people doing? Live-ish estimates based on global population dynamics (Score: 151+ in 8 hours)

Link: https://readhacker.news/s/6uLpe
Comments: https://readhacker.news/c/6uLpe
The emoji problem (2022) (🔥 Score: 158+ in 3 hours)

Link: https://readhacker.news/s/6uMka
Comments: https://readhacker.news/c/6uMka