OpenBSD Handbook

Current snapshot · amd64 · Generated 2026-09-09

cparser-1.22.1pl3p0

C99 parser and frontend for libFirm

Back to search · Project homepage

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.

Package information

Ports path
lang/cparser
Package architecture
amd64
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
lang
Available flavors
None listed
Only for architectures
amd64, arm, i386

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Library

Build

Installing and updating packages · Package details as JSON