2018-01-27 12:40 GMT+01:00 Felipe Magno de Almeida <
[email protected]>:

> On Fri, Jan 26, 2018 at 11:20 AM, Gustavo Sverzut Barbieri
> <[email protected]> wrote:
> > On Fri, Jan 26, 2018 at 12:50 AM, Jean-Philippe André <[email protected]>
> wrote:
> >>
> >> Hi,
>
> [snip]
>
> >> So what I think is that this is a great tool that you provide here, but
> I
> >> doubt other languages than Python will adopt this straight away. Unless
> we
> >> start working on a new binding, maybe?
> >
> > well, point is you can create a new binding just replacing the text
> > files that are the template... so maybe even c++ and c# could be
> > changed to use that without major issues...
> >
> > not sure if Felipe thinks maintaining an eolian generator on his own is
> worth.
> >
> > as for python dep... it will come with meson anyway.
>
> We will test pyolian with a test generator. Not sure about bindings yet
> because we need some flexibility that templating might not be enough,
> for example for JS which generates registration functions etc. "Loops"
> are weirder in that case, but indeed maintaining more code is not
> exactly my goal.
>

The template engine is really powerfull, it have access to the whole eolian
api and db. And provide various control structures (if/then/else, for
loops,
macros, variables, etc...)
It should be able to generate whatever complexity you need.



>
> I do think pyolian will help with new ideas that are going to be easier
> to put in practice, which we might not even have seriously considered
> yet.
>
> @Davide: Could you create a EFL branch with pyolian inside? I think
> this should not be outside EFL IMO.
>

pyolian (and the template generator) is aready in the EFL master branch.

look at src/scripts/pyolian/ for them, there is also a quite complete docs
in README.md

and look at src/scripts/gendoc/ for an example usage.

Let me know when you try it :)


>
> > --
> > Gustavo Sverzut Barbieri
> > --------------------------------------
> > Mobile: +55 (16) 99354-9890
>
>
> Regards,
> --
> Felipe Magno de Almeida
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to