From owner-cvs-all@FreeBSD.ORG Mon Nov 24 09:33:54 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E76771065670; Mon, 24 Nov 2008 09:33:54 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D71188FC13; Mon, 24 Nov 2008 09:33:54 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id mAO9Xsf0040182; Mon, 24 Nov 2008 09:33:54 GMT (envelope-from miwi@repoman.freebsd.org) Received: (from miwi@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mAO9Xsec040181; Mon, 24 Nov 2008 09:33:54 GMT (envelope-from miwi) Message-Id: <200811240933.mAO9Xsec040181@repoman.freebsd.org> From: Martin Wilke Date: Mon, 24 Nov 2008 09:33:54 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/lang Makefile ports/lang/cparser Makefile distinfo pkg-descr X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2008 09:33:55 -0000 miwi 2008-11-24 09:33:54 UTC FreeBSD ports repository Modified files: lang Makefile Added files: lang/cparser Makefile distinfo pkg-descr Log: 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) * 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 with GCC (-fxxx, -Wxxx, -M, ...) * uses libFIRM for optimization and code generation (devel/libfirm) WWW: http://www.libfirm.org Submitted by: Christoph Mallon Revision Changes Path 1.604 +1 -0 ports/lang/Makefile 1.1 +29 -0 ports/lang/cparser/Makefile (new) 1.1 +3 -0 ports/lang/cparser/distinfo (new) 1.1 +24 -0 ports/lang/cparser/pkg-descr (new)