[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Unary Brain "bubble"



PureBytes Links

Trading Reference Links

Hello,

> Just returned from a bike ride and decided you are correct, Tomasz, in
> changing the parser precedence to conform to the documentation.
> 
> Because code attempts to translate arithmetic expressions in to machine
> language, and attempts to look like arithmetic -- I feel that most would
> interpret -x^2, as minus x-squared not (minus x)-squared.

Yes, I just wanted to respond saying exactly the same. 
The idea was to approach regular artithmetic notation so I am going to change 
the precedence so exponentiation is done before unary minus.

> 
> As a matter of interest, is your parser, in fact, a lex/yacc/
> reverse-Backus-Naur process; I presume they have it adapted to windows
> systems...

Yes it is.


Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Richard Alford" <richard.alford@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, April 30, 2002 9:15 PM
Subject: [amibroker] Unary Brain "bubble"


> 
> 
> 
> 
> 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
>