On Fri, Jun 4, 2010 at 10:03 AM, Mojca Miklavec <mojca.miklavec.li...@gmail.com> wrote: > On Fri, Jun 4, 2010 at 09:32, luigi scarso wrote: >> >> 2) why python ? We have lua in luatex; mkiv has a lot of lua code about >> fonts. > > Hmmm ... the guy who spent most of his time in community trying to > make python work with ConTeXt is now complaining about the programming > language? Come on ... :) I'm not say that it's wrong. It's the same as if I write a lua script to do "XYZ" for Plone: why ? There are a lot of python code in Plone that probably can be used to do "XYZ".
> > Whenever I write something I use the language I master most (even if > it's not the most suitable language for that task), so I guess that > must be the reason. But if the script proves to be useful, it's still > short enough that anyone could convert it to Lua to get rid of > dependencies on yet another language. A python's programmer has no problem to write a lua version (and a javascript programmer too, as Mathias Nater showed to me) The key point here is the dependency on another language: for luatex it's almost useless to use a scripting/dynamic language other than lua (I hope one day we will end without ruby and perl for mkiv too, if reasonable) . Of course perl, ruby. python,<put_your_favorite_language_here> are all goods programming languages but mixing them together not always make a good pie . -- luigi ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________