3 ms·
This is really cool! I've often wondered if a Blueprint-like editting experiences could be used more broadly. Looking forward to seeing this grow. I think there
by darzu 7y ago
This is really cool! I've often wondered if a Blueprint-like editting experiences could be used more broadly. Looking forward to seeing this grow. I think there is also great potential for a very approachable debugging experience.
Targeting build systems seems like a great fit as well, since as you pointed out the build DAG is naturally a graph.
When you mentioned games programming, I thought of Dream's visual programming: https://youtu.be/eMRp3QMAkz8?t=773 https://youtu.be/eMRp3QMAkz8?t=773
I love the idea of using typescript types to define visual code atoms. We do a very simple version of that to create our Blockly blocks, e.g. block definition: https://github.com/microsoft/pxt-microbit/blob/master/libs/radio/radio.ts#L88 https://github.com/microsoft/pxt-microbit/blob/master/libs/r...
although I'm sure you could take that much farther.
We run TSC in the browser in a worker thread, here's an example, in case that helps: https://github.com/microsoft/pxt/blob/master/pxtcompiler/emitter/driver.ts#L245 https://github.com/microsoft/pxt/blob/master/pxtcompiler/emi...
We use TSC for typechecking and our own typescript compiler for compiling down to ARM assembly.
- tyleo 7y agoThanks for the reply. If you have any ideas for potential use cases or want to see a short demo of what I have running so far let me know if you'd like to get in contact.