billroy / bitlash

Bitlash: a programmable command shell for arduino
http://bitlash.net
MIT License
341 stars 73 forks source link

Not working on new Arduino.. #48

Open Curnelius opened 8 years ago

Curnelius commented 8 years ago

On the new boards using ARM processors, like the Zero, which are the future of MCU's, you get an error on compilation :

fatal error: avr/io.h: No such file or directory

include "avr/io.h"

Wonder if its possible at all ?

creationix commented 8 years ago

Back when I looked at porting bitlash to the esp8266 I found that it makes a lot of assumptions about avr and arduino. It's a very simple language, it might make sense to re-implement it for other platforms. If we're going to do that then it might be time to re-evaluate the language decisions in light of the more powerful 32-bit processors.

This is an area in which I'm doing active research and would love to collaborate with someone.

Curnelius commented 8 years ago

Thats right. I would like to read more about the design patterns required to write it again like a "pro", do you have something in mined ?

q2dg commented 7 years ago

Oooh, I would be really great if there was an platform-agnostic Bitlash. Really really great. On the other hand, last commit in this github was more than two years ago...so maybe it's time to reboot.

creationix commented 7 years ago

@q2dg what exactly about bitlash (as compared to JS, lua, ruby, python, forth, lisp) do you like? Is is just the idea of scripting on a microcontroller in general or do you like the specific design of bitlash?

q2dg commented 7 years ago

The idea of real-time interaction with the microcontroller as if I was in a telnet session (with the possibility of creating own scripts to run on it, yes) . Thanks.

creationix commented 7 years ago

@billroy Would you be opposed to a new language being implemented that borrows heavily from the design of bitlash?

billroy commented 7 years ago

Quite the contrary - I would encourage forks and forward experimentation in new directions!

-br

On Jul 25, 2016, at 9:53 AM, Tim Caswell notifications@github.com wrote:

@billroy https://github.com/billroy Would you be opposed to a new language being implemented that borrows heavily from the design of bitlash?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/billroy/bitlash/issues/48#issuecomment-234995568, or mute the thread https://github.com/notifications/unsubscribe-auth/AAF-xp9FBfIZ6FMNwnBbTuSI7oGCIo3Vks5qZNvfgaJpZM4Ism3l.

q2dg commented 7 years ago

I haven't the technical skill to opinate about it. I'd only want front-end syntax were similar to Arduino's one.

creationix commented 7 years ago

Arduino is just C++ within a framework/library. It's not the easiest syntax to parse, but it's certainly the most popular style (JavaScript/Java/C/C++/C#/PHP/etc are all C-like syntax)