OberonCore
https://forum.oberoncore.ru/

Automatic generation of interface modules
https://forum.oberoncore.ru/viewtopic.php?f=34&t=661
Страница 1 из 1

Автор:  Bernhard [ Понедельник, 24 Сентябрь, 2007 16:04 ]
Заголовок сообщения:  Automatic generation of interface modules

since I understand almost no russian (I'm using Google Translate to browse this forum), please excuse for posting in english ... ofcourse I could also post in german, but ...

Since beginning of this year, h2o (the automagic interface generator for oo2c) optionally generates CP interface modules from C-Header files. Stewart Greenhill (the author of H2O) included the modifications I sent him in a better version in the source tree.

It is included in the general oo2c distribution, which can be downloaded from sourceforge
(http://sourceforge.net/project/showfile ... ge_id=8330).

Documentation is (very) fragmentary, but I should be able to provide some demonstration if there is interest for it. Especially, I prepared a small QuickStart document, which is available on request (send me a private message).

regards
Bernhard Treutwein

Автор:  Илья Ермаков [ Понедельник, 24 Сентябрь, 2007 16:51 ]
Заголовок сообщения:  Re: Automatic generation of interface modules

Dear Bernhard, welcome to our community! :-)

Thanks your for interesting subject. In my mind, it can be very useful tool for practical developers.

There are in our community some components (unfortunately, with russian only documentation):
http://oberoncore.ru/index.php?option=c ... &Itemid=29
And now we try to start collectively development of some additions to BlackBox:
viewforum.php?f=47

I think, we can try to overcome language barrier :-)

Автор:  Bernhard [ Понедельник, 24 Сентябрь, 2007 18:25 ]
Заголовок сообщения:  Re: Automatic generation of interface modules

Hi Ilia,

thanks for the warm welcome ...

Bernhard

Автор:  Иван Денисов [ Понедельник, 20 Июнь, 2011 13:19 ]
Заголовок сообщения:  Re: Automatic generation of interface modules

Никто случайно не переносил эту штуку на БлэкБокс ?
Есть ли хороший автоматический транслятор заголовочных файлов?

Автор:  Bernhard [ Четверг, 08 Декабрь, 2011 18:43 ]
Заголовок сообщения:  Re: Automatic generation of interface modules

Иван Денисов писал(а):
Никто случайно не переносил эту штуку на БлэкБокс ?
Есть ли хороший автоматический транслятор заголовочных файлов?
Google translate:
No chance this thing could not bear to BlekBoks?
Is there a good automatic translator header files?


not really, but I have created an EXE and which can be used together with BlackBox.

I attached some rudimentary documentation ...

Please reply in english if you can. It is very difficult to be logged in and use Google
translate on the forum ...

I've not been around for quite some time.
--
Bernhard

Вложения:
H2O-QuickStart.pdf [18.06 КБ]
Скачиваний: 1264

Автор:  Роман М. [ Пятница, 09 Декабрь, 2011 11:36 ]
Заголовок сообщения:  Re: Automatic generation of interface modules

Только поверхностно просмотрел и нашёл опечатку в декларации типа: (Translation: Just looked superficially and found misprinted declaration of type:)
Цитата:
MapPointer= "ANYPR";

Должно быть "ANYPTR". (Should be "ANYPTR")

Автор:  Bernhard [ Пятница, 09 Декабрь, 2011 12:32 ]
Заголовок сообщения:  Re: Automatic generation of interface modules

Роман М. писал(а):
Just looked superficially and found misprinted declaration of type:)
Цитата:
MapPointer= "ANYPR";

Should be "ANYPTR")


thanks, corrected. In the mean time I found a little bit more ... see enclosed zip.

TestH2O should not be called directly since it requires some oo2c repository. Therefor it should be called via the H2O.cmd script, which sets up the environment for the oo2c runtime.

regards
Bernhard

Вложения:
H2O.zip [1.81 МБ]
Скачиваний: 1296

Автор:  Иван Денисов [ Суббота, 07 Июль, 2012 13:03 ]
Заголовок сообщения:  Re: Automatic generation of interface modules

Thanks! I just compile H2O for Ubuntu 12.04 and will continue experiments with translations.

Вложения:
TestH2O.7z [411.96 КБ]
Скачиваний: 1163

Автор:  Иван Денисов [ Среда, 19 Сентябрь, 2012 12:06 ]
Заголовок сообщения:  Re: Automatic generation of interface modules

I adapted H2O for Component Pascal (attached in src_h2o.7z),
and tried to translate few headers of "FreeImage" and "Cairo" with a help of H2O and have some results (attached in H2O.7z)

Translation of Gtk2 headers goes with many errors, and not so easy.

Вложения:
src_h2o.7z [414.43 КБ]
Скачиваний: 1180
H2O.7z [473.03 КБ]
Скачиваний: 1163

Автор:  Иван Денисов [ Пятница, 21 Март, 2014 12:56 ]
Заголовок сообщения:  Re: Automatic generation of interface modules

Надо использовать последнюю версию oo2c. Я по неопытности скачал для экспериментов тогда версию не с CVS а только релиз с морды sourceforge.net. И, как водится, изобретал велосипед, адаптируя транслятор H2O под Компонентный Паскаль, поэтому не качайте мои файлы выше.

Александр Ильин еще в 2011 году писал, что есть поддержка Компонентного Паскаля в H20.

Подготовлю видеодемку на днях как этим H2O пользоваться.

Автор:  ilovb [ Пятница, 09 Май, 2014 18:30 ]
Заголовок сообщения:  Re: Automatic generation of interface modules

Иван Денисов писал(а):
Подготовлю видеодемку на днях как этим H2O пользоваться.

Еще бы инструкцию как это подвендой в mingw собрать... :roll:

Автор:  Иван Денисов [ Воскресенье, 17 Август, 2014 12:38 ]
Заголовок сообщения:  Re: Automatic generation of interface modules

Оформил документацию в виде wiki-странички
http://wiki.blackboxframework.org/index.php?title=H2O

ilovb писал(а):
Иван Денисов писал(а):
Подготовлю видеодемку на днях как этим H2O пользоваться.

Еще бы инструкцию как это подвендой в mingw собрать... :roll:

Я совсем не знаю как это делать. Если разберетесь, Борис, прошу поделиться инфорамцией.

Страница 1 из 1 Часовой пояс: UTC + 3 часа
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/