Paper
19 July 2010 A simple way to build an ANSI-C like compiler from scratch and embed it on the instrument's software
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
Author Affiliations +
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.
© (2010) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
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, and Pedro J. Amado González "A simple way to build an ANSI-C like compiler from scratch and embed it on the instrument's software", Proc. SPIE 7740, Software and Cyberinfrastructure for Astronomy, 774025 (19 July 2010); https://doi.org/10.1117/12.856385
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Java

Prototyping

C++

Computer programming

Computer programming languages

Windows XP

Software development

RELATED CONTENT


Back to Top