Re: Simple expression parser for PHP. [message #179785 is a reply to message #179782] |
Tue, 04 December 2012 22:23 |
Thomas 'PointedEars'
Messages: 701 Registered: October 2010
Karma:
|
Senior Member |
|
|
Daniel Pitts wrote:
> On 12/4/12 6:29 AM, Thomas 'PointedEars' Lahn wrote:
>> Scott Johnson wrote:
>>> On 12/4/2012 2:55 AM, Thomas 'PointedEars' Lahn wrote:
>>>> Daniel Pitts wrote:
>>>> > On 12/3/12 12:39 PM, The Natural Philosopher wrote:
>>>> >> On 03/12/12 17:28, Daniel Pitts wrote:
>>>> >>>>>> Daniel Pitts wrote:
>>>> >>>>>>> I have a requirement that I need to take an expression and
>>>> >>>>>>> evaluate it.
>>>> >> I still havent a clue what you are talking about.
>>>> >>
>>>> >> Hint: smart people make complex things understandable by good
>>>> >> description. Stupid people make simple things incomprehensible, to
>>>> >> make them look smarter than they really are. Or at least that's what
>>>> >> they think...
>>>> > Hmm, like what you and PointedEars are doing?
>>>>
>>>> Score adjusted.
>>>>
>>>> > I asked a simple question. Is there an expression evaluator for PHP,
>>>> > other than "eval"?
>>>>
>>>> So, here is a simple answer: No. Now go away, please.
>>>> [signature]
>>>
>>> WOW! I have seen many petty things said and argued but this is the
>>> first. Telling someone to go away? It is not like you have to read or
>>> even try to help the person. Just ignore that which you don't like or
>>> those who don't agree with you.
>>
>> You want to learn to read the *whole* thread and to quote properly.
>
> First, PointedEars, I want to apologize for venting my frustration with
> TNP on you. I feel like you were genuinely *trying* to help.
>
> The simple answer is, as you said, no. There isn't any well known
> supported expression evaluator in PHP. Thank you for your time.
ACK(nowledged).
Regards,
PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16
|
|
|