BSD Ports

lang/cparser 1.22.1pl3p0 OpenBSD

C99 parser and frontend for libFirm

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
lang

Description

cparser is a recursive descent C99 parser written in C99. It contains a preprocessor, lexer, parser, constructs an AST and does semantic analysis. It acts as a frontend to the libFirm intermediate representation library. This way optimization and code generation is performed. The compiler supports cross compilation to multiple target architectures with a command-line switch. It comes with driver logic for calling assemblers and linkers as well as parsing command-line options. This allows it to be a drop-in replacement for gcc or clang in many situations.

In the other systems

SystemPortVersion
OpenBSDlang/cparser1.22.1pl3p0
FreeBSDlang/cparser0.9.14_1
NetBSDlang/cparser0.9.14
DragonFlylang/cparser0.9.14_1

Install

Binary package:

pkg_add cparser

From the ports tree:

cd /usr/ports/lang/cparser && make install

Dependencies

Build dependencies 1
Run dependencies 1

No port depends on this one.