Extracting operators and operands

Discussion in 'JavaScript' started by Dhingcha, Aug 16, 2008.

  1. #1
    Hi guys,

    I'm looking for a way to extract operators and operand off a program code to do a complexity analysis. Is there any eficient way other than breaking up the code to just compare characters?

    If you have any sample code or any references about such a parser, I would really appreiate it.

    Regards,
     
    Dhingcha, Aug 16, 2008 IP