Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Apr 2005 09:43:17 -0700
From:      Bakul Shah <bakul@BitBlocks.com>
To:        Ron Chen <ron_chen_123@yahoo.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: C-style expression processing... 
Message-ID:  <200504261643.j3QGhIhG060242@gate.bitblocks.com>
In-Reply-To: Your message of "Sun, 24 Apr 2005 22:50:16 PDT." <20050425055016.56609.qmail@web41303.mail.yahoo.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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?

See
	http://www.bitblocks.com/src/expr

BSD style copyright.  README has some notes to help you turn
it into what you want.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504261643.j3QGhIhG060242>