Proposal: Generator for shell script

210 views
Skip to first unread message

Tanay Gahlot

unread,
Aug 30, 2021, 10:13:01 AM8/30/21
to Blockly
Hello, 
    We were planning to extend blockly to generate shell scripts. Given that it's a significant investment of time and effort, we wanted to check the following: 

1. Have you received any requests for shell script generation in the past?
2. Does it fit in the roadmap of blockly? Are there any plans to generate shell scripts?

Kindly refer to our proposal for more information. 

Regards, 
Tanay and Amey(ask...@gmail.com)

Maribeth Bottorff

unread,
Aug 31, 2021, 8:19:37 PM8/31/21
to Blockly
Hello,

This sounds like a cool project! 

To my knowledge, nobody has requested this from the Blockly team, and it's not in our roadmap to work on this ourselves.

This would be a great plugin for Blockly! We'd love to see this published as a third-party plugin so that hopefully others could use it after you implement it. Please let us know if you need any assistance along the way. Thanks!

 Maribeth

Uwe K

unread,
Sep 1, 2021, 4:26:04 PM9/1/21
to Blockly
Hello,

this looks interesting. Have you considered adding blocks for filesystem and process operations for either python or node.js? That would get you close to shell scripting without having to write a new language generator.

Uwe

Tanay Gahlot

unread,
Sep 3, 2021, 12:14:05 AM9/3/21
to Blockly
Thanks, Maribeth, we will let you know once we get started on the third-party plugin. On our side, we are still weighing pros and cons. 

Hi Uwe, 
   Initially, we started out with python but decided to generate shell scripts as 
  1. Shell scripts are more widely accepted in the industry. 
  2. Generated shell code will be more readable. 
You can find more about the tradeoffs in our original design.
Reply all
Reply to author
Forward
0 new messages