I think this is quite interesting from our point of view. It would be nice if anyone had time to dig in. --Pekka Begin forwarded message: > From: Paulo Torrens <paulo_torrens@xxxxxxxxxxx> > Subject: Re: [Developers] Structured Text and Instruction List compiler for > the Arduino > Date: March 17, 2014 8:37:53 GMT+02:00 > To: developers@xxxxxxxxxx > Cc: Paulo Torrens <paulo_torrens@xxxxxxxxxxx> > > Thanks for the answer. :) > > I'll take some time to write a simple ST/IL programming tutorial (since the > languages are *way* underrated) and some examples which work with the > Arduino. Maybe "translate" some of the examples that ship with the IDE. The > languages *really* fit there! > > > And yeah, I understand that it won't be that easy to make it ship with the > official IDE, but I wanted to know if there would be this possibility. > > My main goal, actually, is to try to help bring some free software into the > industry. That is a *really* closed business, it was even really hard to find > information on the languages to build the transpiler... but maybe once a > library can be made compatible with both PLCs and the Arduino, the GPL can > help spread free software. But I think you guys can understand that it would > feel nice to have the transpiler on the official release. =P > > Just wanted to know what I would have to do. I'll write the docs/examples > down and post everything on the next couple of months, then I'll post on the > forums to see what is the people's reaction about it. > > I'm just worried that I probably wouldn't have much time to work on the IDE > itself (if I forked it)... I actually use makefiles myself, GUIs are not my > cup of tea... :( > > > > > > Em domingo, 16 de março de 2014 06h43min26s UTC-3, rob.tillaart escreveu: > Sounds interesting, > I think you should start with creating a webpage (arduino playground?) with > links, description and examples to show the working of the transpiler. > The examples should differ in complexity and be instructive / realistic e.g. > blinking 2 leds @ different frequency. > > Do not expect this be part of the IDE soon, you might fork the github project > and create a "shadow" version to show how it could be done. > > > > On Thu, Mar 13, 2014 at 8:44 PM, Paulo Torrens <paulo_...@xxxxxxxxxxx> wrote: > Hello, > > My company needed to make software that would be compatible with a PLC and > the Arduino, so I ended up writing a transpiler that compiles Structured Text > and/or Instruction List into C code that uses Arduino and avrlibc libraries. > > I've tested it with Arduino Mega and with a Siemens' PLC, seemed to be ok. > > I've talked to them and I've decided to release the compiler under the GPL, > and the runtime for the languages under, probably, Beerware (since it needs > to be far more permissive). > > I'm going to clean up the code a little bit, write some documentation, and > then post about it on the Arduino forums. > > What I'd like to know is if there is any chance to make the compiler ship > with the Ardunio IDE, giving people an alternative over writing C programs > for the Arduino. What do I need to do for this? > > (I'd gladly help modify the IDE itself to handle ST/IL highlight too.) > > Thanks. :) > > -- > You received this message because you are subscribed to the Google Groups > "Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to developers+...@xxxxxxxxxx. > > > -- > You received this message because you are subscribed to the Google Groups > "Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to developers+unsubscribe@xxxxxxxxxx.