Re: Re: Re: Gnome related javascript initiatives.



In theory, outputting for other languages should be just a matter of modifying the templates. 

eg. files like this one just need modifying to render the correct output.
http://git.gnome.org/browse/introspection-doc-generator/tree/docs/class.html

I guess I can set up a few binding directories 
eg. 
/seed = seed templates
/gjs  = gjs templates
/pygi  = pygi templates
/vala  = vala templates

then build all language bindings docs in one go.

I know the binding methodogy of seed since I've hacked on it a bit, which is partly influnced by the limitations of webkit's js library.

How do vala/pygi/gjs handle out arguments - always return values, or can the inject values into the scope?

Regards
Alan


 --- On 22/Jun/2010, Johan Dahlin wrote: 
> On Tue, Jun 22, 2010 at 12:37 AM, Alan Knowles <alan akbkhome com> wrote:
> > There is also the doc generator code.
> > http://git.gnome.org/browse/introspection-doc-generator/
> 
> Are there plans to extend your doc generator to support the syntax
> of other language bindings apart from seed?
> 
> Colin is planning to write a documentation tool on top of the scanner
> from gobject-introspection which will be language agnostic if I
> understood properly.
> 
> -- 
> Johan Dahlin



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]