Re: a work on obtain class definition and function signature

[email protected]
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
yes,i also think it`s more easy and suitable if the library provide such a
interface itself,users like me normally don`t want to guess their sources
unless there`re no other way.

-Cloudage

2009/12/4 Evan Wies <[email protected]>

> I agree that luabind doesn't include this support.   I meant that perhaps
> luabind _should_ have this
> support added if it is useful.
>
> -Evan
>
> [email protected] wrote:
> > Hello Evan,thanks for reply.
> > i think luabind does not have a enough build-in reflection facility,as
> > far as i know the only thing it provide for reflection is
> > class_info,even it doesn`t provide function signature infomations for
> > me.or am i missed its own reflection feature?
> > or am i just misunderstood what you mean? English is not my native
> > language,sorry for my confusion.
> > 2009/12/3 Evan Wies <[email protected] <mailto:[email protected]>>
> >
> >     LuabindSensor is really cool.  Thanks for making and sharing.
> >
> >     I sorta think that luabind's reflection facility should do that for
> >     you.  It should return a Lua table that represents what you have
> >     there.   Then you could generate the text format you need by
> >     transforming that table.
> >
> >     Thoughts on this idea?
> >
> >     A handwritten example:
> >     {
> >     namespaces = {
> >       namespaceA = {
> >         classes = {
> >           Foo = {
> >             functions = {
> >                func = { { returns = { "number" }, args = {"number",
> >     "number'} },
> >             },
> >             properties = {
> >                foo = { type = "number", read = true },
> >                bar = { type = "namespaceA.Bar", read = true, write = true
> },
> >             },
> >             enum = { __name = "MyEnum",
> >       WHATEVER = 0,
> >                THIS = 520,
> >             },
> >         },
> >       },
> >     }
> >
> >     Regards,
> >     Evan
> >
> >
> >
> >     [email protected] <mailto:[email protected]> wrote:
> >     > there`s a very tiny library that can provide infomations of class
> >     > definition,function signature,table structure,etc.i did this for
> >     > my another script editor project to provide autocompletion
> supports.
> >     > i just finished it,and it seems "can work".and now i hope some one
> >     would
> >     > try it out.
> >     > i develop it with visual studio,but there`re no platform dependency
> in
> >     > the source,so i also looking for help of some crossplatform making
> >     files.
> >     >
> >     > my work is at http://code.google.com/p/luabindsensor/ ,if you are
> >     > interested,please go there for more infomations.
> >     >
> >     > btw,i still can not receive mails directly from this mail list,can
> any
> >     > one help me?
> >     >
> >     >
> >     >
> >
> ------------------------------------------------------------------------
> >     >
> >     >
> >
> ------------------------------------------------------------------------------
> >     > Join us December 9, 2009 for the Red Hat Virtual Experience,
> >     > a free event focused on virtualization and cloud computing.
> >     > Attend in-depth sessions from your desk. Your couch. Anywhere.
> >     > http://p.sf.net/sfu/redhat-sfdev2dev
> >     >
> >     >
> >     >
> >
> ------------------------------------------------------------------------
> >     >
> >     > _______________________________________________
> >     > luabind-user mailing list
> >     > [email protected]
> >     <mailto:[email protected]>
>  >     > https://lists.sourceforge.net/lists/listinfo/luabind-user
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> ------------------------------------------------------------------------------
> > Join us December 9, 2009 for the Red Hat Virtual Experience,
> > a free event focused on virtualization and cloud computing.
> > Attend in-depth sessions from your desk. Your couch. Anywhere.
> > http://p.sf.net/sfu/redhat-sfdev2dev
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > luabind-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/luabind-user
>
>

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev

_______________________________________________
luabind-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luabind-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.