Port details |
- cparser C99 compiler using libFIRM as backend
- 0.9.14_1 lang
=2 0.9.14_1Version of this port present on the latest quarterly branch. - There is no maintainer for this port.
- Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org
 - Port Added: 2008-11-24 09:34:38
- Last Update: 2024-01-09 15:41:04
- Commit Hash: e10e202
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: devel
- License: GPLv2+
- WWW:
- https://sourceforge.net/projects/cparser/
- 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)
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/lang/cparser/ && make install clean
- To add the package, run one of these commands:
- pkg install lang/cparser
- pkg install cparser
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: cparser
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (cparser-0.9.14.tar.bz2) = 017a83d72c14e723573520bc92d78c988485e4086a15ce42e532561951510792
SIZE (cparser-0.9.14.tar.bz2) = 193745
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.3 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- Library dependencies:
-
- libfirm.so : devel/libfirm
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for cparser-0.9.14_1:
DEBUG=off: Build with debugging support
===> Use 'make config' to modify these settings
- Options name:
- lang_cparser
- USES:
- gmake pkgconfig tar:bzip2
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.9.14_1 09 Jan 2024 15:41:04
    |
Baptiste Daroussin (bapt)  |
MAN[1-5]PREFIX: eleminate its usage and move man to share/man |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.9.14 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.9.14 20 Jul 2022 14:22:15
    |
Tobias C. Berner (tcberner)  |
lang: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Adam Weinberger <adamw@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alex Dupre <ale@FreeBSD.org>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alonso Cardenas Marquez <acm@FreeBSD.org>
* Andreas Klemm <andreas@klemm.gtn.com>
* Andrew Pantyukhin <infofarmer@FreeBSD.org>
* Andrey Zakhvatov
* Anton Berezin <tobez@FreeBSD.org>
* Anton Berezin <tobez@tobez.org> (Only the first 15 lines of the commit message are shown above ) |
0.9.14 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.9.14 09 May 2020 19:24:50
  |
tijl  |
Update devel/gmake to 4.3.
Some changes have been made in this release that break backwards
compatibility. Let USES=gmake force users to upgrade to this version so
port maintainers don't have to support older versions.
PR: 245725
Exp-run by: antoine
Approved by: portmgr (antoine) |
0.9.14 20 Jan 2017 20:33:31
  |
sunpoet  |
Update WWW: SF redirects to https://sourceforge.net/projects/<PROJECT_NAME>/ |
0.9.14 01 Apr 2016 14:08:38
  |
mat  |
Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.
With hat: portmgr
Sponsored by: Absolight |
0.9.14 12 Jan 2016 16:20:32
  |
amdmi3  |
Convert LICENSE= "GPLxx # or later" to "GPLxx+"
Approved by: portmgr blanket |
0.9.14 31 Dec 2015 10:58:14
  |
amdmi3  |
- Clarify LICENSE
- Add LICENSE_FILE
- Switch to options helpers |
0.9.14 16 Dec 2015 13:45:17
  |
culot  |
- Reassign sperber@'s ports after his commit bit was taken in for safekeeping |
0.9.14 22 May 2015 20:34:29
  |
mat  |
Remove $FreeBSD$ from patches files everywhere.
With hat: portmgr
Sponsored by: Absolight |
0.9.14 25 Mar 2014 08:13:17
  |
bapt  |
Support stage
Stop trying to remove striping from INSTALL_PROGRAM is DEBUG is set, the
framework already does that |
0.9.14 20 Sep 2013 19:53:10
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
lang) |
0.9.14 30 Apr 2013 17:48:37
  |
sperber  |
- Update to 0.9.14
- Switch to OptionsNG
- Add Options for DEBUG
- Update pkg-descr and WWW:
- Trim Makefile headers
- Add USES= pkgconfig
- Remove shlib versions
- Update MAINTAINER to my FreeBSD address
PR: ports/175920
Submitted by: Po-Chien Lin <linpc _AT_ cs.nctu.edu.tw>
Approved by: beat (mentor) |
0.9.13 28 Jan 2012 20:30:02
 |
miwi  |
- Update to 0.9.13
PR: 164297
Submitted by: Armin Pirkovitsch <armin@frozen-zone.org> (maintainer) |
0.9.12_1 13 Aug 2011 09:03:38
 |
crees  |
Change +++ path too-- if one has a /tmp/firm_machine.c for whatever reason
patching fails.
PR: ports/159627
Submitted by: rdivacky
Approved by: maintainer (implicit) |
0.9.12_1 13 Aug 2011 08:16:56
 |
crees  |
Patch now applies properly -- path corrected.
Submitted by: rdivacky |
0.9.12_1 13 Aug 2011 06:41:17
 |
crees  |
Fix on amd64 -- cputype is called x86_64 here.
PR: ports/159627
Submitted by: rdivacky
Approved by: Armin Pirkovitsch <armin@frozen-zone.org> (maintainer) |
0.9.12 12 Aug 2011 17:13:55
 |
crees  |
- Update devel/libfirm to 1.19.1
- Update lang/cparser to 0.9.12 and bump LIB_DEPENDS for libfirm
PR: ports/159627
Submitted by: Armin Pirkovitsch <armin@frozen-zone.org> (maintainer) |
0.9.11 03 Jul 2011 13:45:36
 |
ohauer  |
- remove MD5 |
0.9.11 25 Jul 2010 15:13:41
 |
decke  |
- Update to 0.9.11
- Add LICENSE
- Pass maintainership to submitter (via IRC)
PR: ports/148723
Submitted by: Armin Pirkovitsch <armin at frozen-zone dot org>
Approved by: beat (co-mentor) |
0.9.8 06 Jun 2010 01:09:30
 |
linimon  |
Reset christoph.mallon@gmx.de due to maintainer-timeouts and no response
to email.
Hat: portmgr |
0.9.8 15 Feb 2009 13:22:27
 |
miwi  |
- Update to 0.9.8
- Use SF macro
Submitted by: Christoph Mallon (maintainer via irc) |
0.9.7 02 Dec 2008 01:24:52
 |
wxs  |
- Update to 0.9.7
- Switch to MASTER_SITE_SOURCEFORGE
- Install man pages
- Fixup pkg-descr typos
PR: ports/129343
Submitted by: Christoph Mallon <christoph.mallon@gmx.de> (maintainer) |
0.9.6 24 Nov 2008 09:33:54
 |
miwi  |
cparser is a C compiler, which can parse C89 and C99 as well as many GCC and
some MSVC extensions. It also provides many useful analyses for warnings. It
uses libFIRM, which provides a SSA-based intermediate representation in form of
explicit dependency graphs, for optimization and code generation. Parsing is
done with a handwritten recursive descent parser. The AST representation is
straightforward, so it can be used for other purposes than code generation.
* fast recursive descent parser, parses C89 and C99
* handles most GCC extensions, f.e. __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) (Only the first 15 lines of the commit message are shown above ) |