Обсудим завтра на митинге, я думаю.

2010/4/28 Tony Lazarew <[email protected]>

> Привет.
>
> Ситуация следующая: нужно часто вызывать SA из python. Чтобы ускорить
> процесс, я хочу сделать обёртку для SA на питоне. Для этого нужно,
> чтобы SA был в виде либо динамических, либо статических библиотек и я
> мог с ним слинковать свою обёртку.
>
> Функции SA должны брать данные не из потока, а из буфера, причём
> оптимальнее всего будет string: sacparse(string buff). Возвращать
> нужно тоже string.
> Естественно, никаких промежуточных файлов создаваться не должно, всё
> должно делаться на лету. Скидываю подсказку:
>
>    // Creating a new buffer and switching Flex to it
>    buf_ptr = yy_scan_buffer(buf_base, size);
>    yy_switch_to_buffer(buf_ptr);
>
> ;-)
>
> Обсуждали эту идею с Фёдором, так что если я совсем сумбурен, то он
> разъяснит.
>
> -Антон
>
> --
> You received this message because you are subscribed to the Google Groups
> "SourceAnalyzer Team" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<sa_team%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/sa_team?hl=en.
>
>


-- 
Regards, Artem

tel. +79200444558
icq 269910037
skype artem.shaporenko
Source Analyzer Team

-- 
You received this message because you are subscribed to the Google Groups 
"SourceAnalyzer Team" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sa_team?hl=en.

Reply via email to