Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Symbolic expression sub?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Ping Hu <ping.hu@s...>
Subject: [Caml-list] Symbolic expression sub?
Just wondering if someone has some smart enough approach in Caml (or
C/C++) to compute the difference between two symbolic expressions
described below,

term: x, xy, 3x, 3xyz, 23, ...
op: +, -
expr: term | expr op expr 
 
how about (expr1 - expr2) ?

Thanks,
Ping 
@ST,Cambridge
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr