Skip to content

Commit

Permalink
update memo
Browse files Browse the repository at this point in the history
  • Loading branch information
ceplus committed Dec 25, 2008
1 parent efb7194 commit 8465087
Showing 1 changed file with 6 additions and 32 deletions.
38 changes: 6 additions & 32 deletions MEMO.txt
@@ -1,41 +1,15 @@

= Ridela: Interface Definition Language over Ruby =

IDL �� ruby syntax �Œ�`���邽�߂̃R�[�h. �Ԃ����Ⴏ gen �p.

���ꂪ...:
{{{
require 'ridela'
require 'ridela/vce'

ns = Ridela::namespace(:hello) do |l|
l.interface(:DemoProtocol) do
l.template('SQLDataMap', 'std::map<std::string>, ws::Variant>', 'ws::MaxSQLDataMapByte')
l.template('SQLDataList', 'std::vector<ws::SQLDataMap>', 'ws::MaxSQLDataListByte')
l.method(:Say, :prflow=>:s2c) do
l.arg(:message, :string, {:prlength => 256})
l.arg(:count, :int)
end
l.that[:cppheader] =<<EOF
#include <wsnetcore/Define.h>
#include <wsnetcore/Serialize.h>
#include <vtw/common.h>
EOF
end
end

out = STDOUT
Ridela::VCE::Writer.new(ns).write(out)
}}}

...�ǂ��Ȃ邩�͂��������z�����‚��͂�:D
github �f�r���[���i�͂���ɂ��悤.

TODO:
* ridela �t�@�C��(��`)�ƃh���C�o(�R�}���h���C���c�[��) �̕���
* ���O��Ԃ̃l�X�g
* vce-message-cxx-h �̏o�͑Ή�
* vce-idl �̏o�͑Ή�
* message: �ő�o�C�g���̐��� (for gen)
* VCE:
* �I�v�V�����F�X��`
* request/response �΂̎x��
* �ЂƂ‚� ridela �t�@�C���ɕ����̃C���^�[�t�F�C�X���`
* VCE �ȊO�̗p�r�ւ̊g�� (ex. squirrel binding)

DONE:
* ridela �t�@�C��(��`)�ƃh���C�o(�R�}���h���C���c�[��) �̕���

0 comments on commit 8465087

Please sign in to comment.