BSD Ports

lang/cparser 0.9.14_1 FreeBSD

C99 compiler using libFIRM as backend

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv2+
Categories
lang, devel
Package size
179.8 KiB, 484.1 KiB installed

Description

cparser is a recursive descent C99 parser written in C99. It contains lexer, parser, constructs an AST and does semantic analysis. It is currently used as a frontend to the libFirm intermediate representation, but can be used independently. cparser is able to bootstrap itself. It currently uses an external preprocessor.

* fast recursive descent parser, parses C90 and C99 * handles most GCC extensions, e.g. __attribute__, inline assembler, computed goto, statement expressions * handles some MSVC extensions (like declspec) * provides many useful warnings * format string checker for char and wchar_t * unreachable code analysis * missing return statement check, which pinpoints exact location(s) * write-only/-self variables detection * missing and redundant forward declarations * most warnings switches, which are available for GCC * provides concise messages in case of error, for example when encountering misspelled typenames * compiler driver compatible with GCC (-fxxx, -Wxxx, -M, ...) * uses libFIRM for optimization and code generation (devel/libfirm)

In the other systems

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

Install

Binary package:

pkg install cparser

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	cparser>0:lang/cparser

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.9.14_10.9.14_10.9.140.9.14_10.9.14_1
FreeBSD:14:quarterly0.9.14_10.9.14_1n/a0.9.14_10.9.14_1
FreeBSD:15:latest0.9.14_10.9.14_1n/a0.9.14_10.9.14_1
FreeBSD:15:quarterly0.9.14_10.9.14_1n/an/an/a
FreeBSD:16:latest0.9.14_10.9.14_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 5
Run dependencies 1

No port depends on this one.

Configuration

Options name: lang_cparser

OptionDefaultDescription
DEBUGoffBuild with debugging support
USES
gmake pkgconfig tar:bzip2
Service scripts
none

Message after installing

===>   NOTICE:

The cparser port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

distinfo 1
FileSizeSHA256
cparser-0.9.14.tar.bz2193745017a83d72c14e723573520bc92d78c988485e4086a15ce42e532561951510792
Master sites 1
  • SF

Commit history 0

No commits in the history this site was built from.