perform dynamic tasks for C/C++/ObjC programs

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • YL

    #1

    perform dynamic tasks for C/C++/ObjC programs

    I'm working on an expert system that allows dynamic updating of
    expert's knowledge and logics. I use database to store the info about
    how to evaluate user's responses to questionnaires. The core table
    called EvaluationPoint whose records have
    attributes(eval uation_point_id ,questionnaire_ id,pattern_id,c onfig,status,.. .)

    Once a record in table EvaluationPoint been fetched, it becomes an
    object of class EvaluationPoint with virtual sub-type according to its
    pattern specified by pattern_id. Where certain evaluation
    pattern/procedure is defined (EvaluationPatt ern data are also
    persistently stored in database for runtime management).

    Each instance of EvaluationPoint 's config value contains the parameters
    etc. necessary to obtain the exact logic/procedure from its pattern.
    EvaluationPoint and EvaluationPatte rn are managed by people who have
    certain participations to the system and data.

    My app is writtern in ObjC running on win2k. As compiled language,
    there are limited flexibilities to handle dynamic logics/procedures. So
    I'm thinking about store python code in my config value of
    EvaluationPoint records whenever needed, and let python handle the
    dynamic behavior of evaluationPoint s.

    I don't know if this make sense at all but if you have ideas or
    examples about how to interact python from within C/C++/ObjC, please
    advise me. Thanks a lot!

Working...