Hi,

On Fri, Jan 26, 2018 at 6:51 AM, Davide Andreoli <d...@gurumeditation.it>
wrote:

> Hi guys,
>
> it's time for me to promote and receive some feedback on this really neat
> and powerfull tool I'm working on: an eolian generator fully based on a
> modern template engine, like the one you found in webtools like Django and
> Jinja2.
>
> All the documentation is hosted at:
> https://phab.enlightenment.org/w/pyolian/
>
>
> I initially wrote this generator to create the next-coming python-efl based
> on the Unified API,
> but It comes out so much powerfull and flexible that I suggest it's usage
> for every eolian based generation needs.
>
>
> Please give it a try and report any issue/idea/suggestion to me.
>
> ...at least, if you are so much lazy, please run (inside the
> efl/src/scripts/pyolian folder):
> ./generator.py test_gen_class.template --cls Efl.Loop.Timer
> ./generator.py test_gen_namespace.template --ns Efl.Ui
>
> and report any issue, It need testing !
>

Well... The first command gives me this:
  AttributeError: 'Type' object has no attribute 'c_type'

The other command works fine :)


Anyway, what's the plan for this?
Is this the tool generating the doc in our website? Aren't we using a
Lua-based generator?
I don't care much which one we use but it would be a shame to have 2
competing tools to maintain :)

As you know, each binding is generated using a custom generator written in
the maintainer's choice of language (so, Lua or C++, now Python).
This makes sense as it means anyone maintaining a binding only needs to
know C and that language (not 100% true for C# as it's using the C++
generator).

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?

One way or another, good job! Thanks a lot :)



> The only issue I know atm is that you must build the efl source IN-TREE,
> otherwise it will not work; this will be fixed once we will switch to meson
> (I don't want to make the works twice)
>

Good to know!


-- 
Jean-Philippe André
------------------------------------------------------------------------------
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
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to