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
| System | Port | Version |
|---|---|---|
| FreeBSD | lang/cparser | 0.9.14_1 |
| OpenBSD | lang/cparser | 1.22.1pl3p0 |
| NetBSD | lang/cparser | 0.9.14 |
| DragonFly | lang/cparser | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.9.14_1 | 0.9.14_1 | 0.9.14 | 0.9.14_1 | 0.9.14_1 |
| FreeBSD:14:quarterly | 0.9.14_1 | 0.9.14_1 | n/a | 0.9.14_1 | 0.9.14_1 |
| FreeBSD:15:latest | 0.9.14_1 | 0.9.14_1 | n/a | 0.9.14_1 | 0.9.14_1 |
| FreeBSD:15:quarterly | 0.9.14_1 | 0.9.14_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.9.14_1 | 0.9.14_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 1
libfirm.so: devel/libfirm
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
| Option | Default | Description |
|---|---|---|
| DEBUG | off | Build with debugging support |
- USES
- gmake pkgconfig tar:bzip2
- Service scripts
- none
Message after installing
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| cparser-0.9.14.tar.bz2 | 193745 | 017a83d72c14e723573520bc92d78c988485e4086a15ce42e532561951510792 |
Master sites 1
- SF
Commit history 0
No commits in the history this site was built from.