Is there an alternative for flex/bison that is usable on 8-bit embedded systems?

后端 未结 6 1106
萌比男神i
萌比男神i 2020-11-21 05:09

I\'m writing a small interpreter for a simple BASIC like language as an exercise on an AVR microcontroller in C using the avr-gcc toolchain. However, I\'m wondering if there

6条回答
  •  萌比男神i
    2020-11-21 05:33

    You can use flex/bison on Linux with its native gcc to generate the code that you will then cross-compile with your AVR gcc for the embedded target.

提交回复
热议问题