TypeScript support for Blockly

2,175 views
Skip to first unread message

phil cleaver

unread,
Feb 24, 2017, 10:59:19 AM2/24/17
to Blockly
Hi,

TypeScript seems to be getting some traction now and I was thinking about trying to add TypeScript support to Blockly.

Has this been done anywhere?  

Any pointers welcome as I don't really know much about TypeScript!

Giggles

Clarissa Jarem

unread,
Feb 24, 2017, 4:20:10 PM2/24/17
to Blockly
At DigiPen Institute of Technology, we have created a typed version of Blocky. We currently use it to program Arduino boards. If you are interested in this technology, send an email to proje...@digipen.edu 

phil cleaver

unread,
Feb 27, 2017, 9:54:17 AM2/27/17
to Blockly
Hi there,

Very interested to see it but email address is blocked for some reason.  Can you spell for me?

Troy McKinnon

unread,
Mar 20, 2017, 5:40:14 PM3/20/17
to Blockly
Phil, I have a project on github that generates the Typescript definition file which will allow you to use Blockly in a typed manner  (https://github.com/trodi/blockly-d.ts).

Clarissa, when you said "a typed version of Blockly", do you mean you created a d.ts file, that you ported the library to Typescript, or something else? I'm interested in seeing what you guys produced.

Carlos Galarza

unread,
Mar 21, 2017, 10:29:57 AM3/21/17
to Blockly
Hi Phil, what do you want? use Blockly into a Typescript project using type definitions?, or to have code generators from Blockly core blocks to Typescript?

Valentin Lamothe

unread,
Aug 20, 2017, 11:02:53 AM8/20/17
to Blockly
Hi, I would like to use Typescript  to have code generators from Blockly core blocks to Typescript
Reply all
Reply to author
Forward
0 new messages