bromagosa / Snap4Arduino

Binding Snap! and Arduino together
http://snap4arduino.rocks
GNU Affero General Public License v3.0
133 stars 85 forks source link

Automatic translation of Snap programs to Arduino C #191

Closed ToonTalk closed 7 years ago

ToonTalk commented 7 years ago

http://snap.berkeley.edu/snapsource/snap.html#present:Username=jens&ProjectName=Codification&editMode

shows how Snap! programs can be converted to C (and other languages). My guess is that enhancing this example to generate C code suitable for the Arduino IDE should not be too difficult. Has this been attempted? If not, I'll have a go.

The obvious utility of this would be that Snap4Arduino programs can be downloaded into an Arduino to run locally.

bromagosa commented 7 years ago

Not only attempted, but done ;)

Although, of course, most of the interesting things in Snap! will never be translatable into C.