Share Email Print
cover

Proceedings Paper

A simple way to build an ANSI-C like compiler from scratch and embed it on the instrument's software
Author(s): Alicia Rodríguez Trinidad; Rafael Morales Muñoz; Miguel Abril Martí; Luis Pedro Costillo Iciarra; M. C. Cárdenas Vázquez; Ovidio Rabaza Castillo; Alejandro Ramón Ballesta; Miguel A. Sánchez Carrasco; Santiago Becerril Jarque; Pedro J. Amado González
Format Member Price Non-Member Price
PDF $14.40 $18.00

Paper Abstract

This paper examines the reasons for building a compiled language embedded on an instrument software. Starting from scratch and step by step, all the compiler stages of an ANSI-C like language are analyzed, simplified and implemented. The result is a compiler and a runner with a small footprint that can be easily transferable and embedded into an instrument software. Both have about 75 KBytes when similar solutions have hundreds. Finally, the possibilities that arise from embedding the runner inside an instrument software are explored.

Paper Details

Date Published: 19 July 2010
PDF: 11 pages
Proc. SPIE 7740, Software and Cyberinfrastructure for Astronomy, 774025 (19 July 2010); doi: 10.1117/12.856385
Show Author Affiliations
Alicia Rodríguez Trinidad, Instituto de Astrofísica de Andalucía CSIC (Spain)
Rafael Morales Muñoz, Instituto de Astrofísica de Andalucía CSIC (Spain)
Miguel Abril Martí, Instituto de Astrofísica de Andalucía CSIC (Spain)
Luis Pedro Costillo Iciarra, Instituto de Astrofísica de Andalucía CSIC (Spain)
M. C. Cárdenas Vázquez, Instituto de Astrofísica de Andalucía CSIC (Spain)
Ovidio Rabaza Castillo, Instituto de Astrofísica de Andalucía CSIC (Spain)
Alejandro Ramón Ballesta, Instituto de Astrofísica de Andalucía CSIC (Spain)
Miguel A. Sánchez Carrasco, Instituto de Astrofísica de Andalucía CSIC (Spain)
Santiago Becerril Jarque, Instituto de Astrofísica de Andalucía CSIC (Spain)
Pedro J. Amado González, Instituto de Astrofísica de Andalucía CSIC (Spain)


Published in SPIE Proceedings Vol. 7740:
Software and Cyberinfrastructure for Astronomy
Nicole M. Radziwill; Alan Bridger, Editor(s)

© SPIE. Terms of Use
Back to Top