in reply to Parsing SExpressions (lisp)

Given your sample input what result do you expect? If the result is too complicated to to express perhaps you should start with a simpler example?

True laziness is hard work

Replies are listed 'Best First'.
Re^2: Parsing SExpressions (lisp)
by Dwood (Acolyte) on Nov 21, 2010 at 08:04 UTC
    You are correct, I do need to start with a simpler example-

    I should be able to get a global's type and put it into the form:

    $hash_glob {$name} = { NAME => $name, TYPE => $type, VALUE => $value } ;


    I should be able to take a script and break it into the form:

    $hash_scripts {$name} = { NAME => $name, TYPE => $type, #continuous, static, dormant, stub, startup are only valid 'types' RETTYPE => $rettype #all of the possible value types, located in array: @return_value_type +s };
    I also want to count number of "nodes" or the amount of characters the script has, as well as where it starts and ends. I don't really know if there's anything else that I need to include...