October 23, 2019, 02:01:04 AM

Author Topic: ..Language translator library or API..  (Read 864 times)

Offline Naughty Alien

  • Hero Member
  • *****
  • Posts: 654
..Language translator library or API..
« on: October 03, 2017, 03:22:37 AM »
..hi guys..im in process of creating software for programming various MCU's for various manufacturers, both firmware as well as actual program for device using MCU..now, i am about to reach stage where i have to sort out programming of each MCU which vary, from manufacturer to manufacturer...so, i want to translate generic code created by my software, in to target MCU platform..so obvious path is translator, which is why im asking, is there any lib or api for this so i can describe to it, instructions/commands of target and get it translated, or i have to write translator from scratch ? I thought of using some existing API (if it is out there) as i have many different dialects of MCU's to cover..any hint?

Offline TomToad

  • Sr. Member
  • ****
  • Posts: 440
Re: ..Language translator library or API..
« Reply #1 on: October 03, 2017, 04:41:31 AM »
Maybe lex and yacc or flex and bison. http://dinosaur.compilertools.net/
------------------------------------------------
8 rabbits equals 1 rabbyte.