Using Ruby to generate AVR C-code

I found a message on the net,
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/65582
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?

:slight_smile:

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

Christian W.