[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Using Ruby to generate AVR C-code

Christian Wattengård

7/24/2007 1:44:00 PM

I found a message on the net, http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-...
that talks about generating c-code and asm-code for AVR
microcontrollers.

However, this is the only I have ever seen of it. How does he do the
conversion? Could you make ruby methods like "flashled(port)" and
"toggleled(port)" that executes C/ASM code using inline? How would the
C/ASM generation work?

:)

Lots of questions, I know. But doing low and midlevel coding in C/ASM
and highlevel and flow in Ruby sounds delicious :)

Christian W.