Re: Simple expression parser for PHP. [message #179768 is a reply to message #179765] |
Tue, 04 December 2012 01:50 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 12/3/2012 6:58 PM, Daniel Pitts wrote:
> On 12/3/12 12:39 PM, The Natural Philosopher wrote:
>> I still havent a clue what you are talking about.
>>
>> Hint: smart people make complex things understandable by good
>> description.
> Indeed, that much is true. To a point.
>
>> Stupid people make simple things incomprehensible, to make
>> them look smarter than they really are. Or at least that's what they
>> think...
> We'll, I don't *intentionally* make anything incomprehensible. I also
> don't intentionally insult someone who asks a question I can't comprehend.
>
> I'm working on some core framework for a large project. For one part of
> this framework, I want to provide a simple, but powerful configuration
> language. The configuration language is best expressed using a
> Declarative syntax.
>
> I have the rest of the configuration language worked out, but there is a
> need to have some of the configured values be "calculated" real time,
> based on some context.
>
> My trouble here is not that I'm trying to look smarter, but that I'm
> trying to minimize exposing proprietary information of my employer.
Daniel, I see you've run into two of the newsgroup trolls (TNP and
"Pointed Head"). You'll be best off ignoring them - they can't help
you, and will cause you no end of grief.
I found your description quite clear, and really don't care WHY you need
it (or what keywords you used to search). I just don't know of any code
samples for what you need. Last time I needed something like that was
several years ago (and another language, but that's besides the point).
It took a while, but I got it working for that project.
But I don't know of anything like this available. You might drop a line
to the webmaster of algebra.com. He used to be a regular on here, and
he has an expression parser in his code. He might be able to help, or
maybe not. I haven't seen him around here for at least 2-3 years.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|