Boost logo

Boost Users :

Subject: [Boost-users] [Proto] Detecting series of operator in grammar
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2008-12-03 13:00:05


How can I write a transform that matches expression like

a0+a1+a2+ ... +an (with N +)

and turn into a custom node like

sum(a0,a1,...,an)

Thanks in advance

-- 
___________________________________________
Joel Falcou - Assistant Professor
PARALL Team - LRI - Universite Paris Sud XI
Tel : (+33)1 69 15 66 35

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net