Open AccessComputer Science
DOI: 10.2298/fuee0502299c

tlooto Summary

This paper will examine some of the commercial and non-commercial alternatives of Traditional LALR(1) tool YACC with ability of parsing in different programming languages.

Abstract

A compileris a translatorthat acceptsas inputformattedsourcefile orfiles, and produces as output a file that may be run directly on a computer. Given the same ANSI C++ compliantinputfile, two differentANSI C++ compliant compilersrunning on the same operating system produce two different executable programs that should execute in exactly the same way. To some degree, this is achieved by the standard- ization of the C++ language, but it is also possible because computer programming languages like C++ can be compiled using reliable technologies with long traditions and understood characteristics. LALR(k), as practical version of LR, is such reliable technology for parsing. Traditional LALR(1) tool YACC has proved his value during years of successful applications. Nowadays there are a few commercial and noncom- mercial alternatives that are very interesting and promising. This paper will examine some of the them with ability of parsing in different programming languages.

Citation format

CIRIC, M.; RANČIĆ, Svetozar R. Parsing in different languages. Facta Universitatis, Series: Electronics and Energetics, 2005, 18: 299–307.