From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 25 05:50:16 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B393316A4CE for ; Mon, 25 Apr 2005 05:50:16 +0000 (GMT) Received: from web41303.mail.yahoo.com (web41303.mail.yahoo.com [66.218.93.52]) by mx1.FreeBSD.org (Postfix) with SMTP id 82E0F43D53 for ; Mon, 25 Apr 2005 05:50:16 +0000 (GMT) (envelope-from ron_chen_123@yahoo.com) Received: (qmail 56611 invoked by uid 60001); 25 Apr 2005 05:50:16 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=N/jGCU703sVds/Noh+7CZHp5aoOoFkPDe9UPQQ51ztpDVSTSDUV5QVWAx9d4NJV7kNd1/tb/xPA468qVStwr4PAHO6HDguoB7AvLpV6dxx1I7A7YB6BbpaVIwXW/aN5HM/Q2dSQD+9p8YAc9+DwsqkvKjnOcBTn5yPZh8msKuGs= ; Message-ID: <20050425055016.56609.qmail@web41303.mail.yahoo.com> Received: from [24.42.232.253] by web41303.mail.yahoo.com via HTTP; Sun, 24 Apr 2005 22:50:16 PDT Date: Sun, 24 Apr 2005 22:50:16 -0700 (PDT) From: Ron Chen To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Mon, 25 Apr 2005 12:06:41 +0000 Subject: C-style expression processing... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 05:50:16 -0000 Hi, I am trying to add a new feature in Gridengine (free/opensource) to support ex-LSF users - there are more and more LSF users migrating to Gridengine), and some requested this one: In LSF, a user can specify from the command line the resource requirements of a batch job: (mem >= 100 || pg < 200.0) Where mem and pg are variables (they changes in time, and the master cluster scheduler has the most up-to-date information). And what I need is to find out whether the expression is true or not. My question is, is there an expression processing library that can handle complex equations easily? -Ron __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com