W dniu 2014-06-20 23:54, Evgenii pisze:
I would really prefer Python parser. I've never heard of Lua before I
read about Tup. There will be several people working on the project, and
most of them probably never heard of Lua either.

Don't judge so fast. Lua is a popular scripting language (small and fast - because it was originally targeted for embedded chips), the fact that you did not hear about it doesn't say much about Lua. On the other hand - it says a bit about you...

While there are really good introduction examples for using tupfiles,
there's nothing for using Lua other than one page API description.

There are some examples on the page and a lot of info on this list.

On
the other hand, sometimes I would need to run calculation to figure the
list of inputs and outputs, so without a scripting support this could be
tricky.

Then it's good that Lua is a scripting language. If that's not enough you can always run external shell script, which can run whatever you imagine - as long as it "outputs" valid tup rules to stdout.

In the face of these uncertainties I might have to go with
SCons, although it is reportedly very slow :( I've already tried Waf and
found it not intuitive at all.

How do you think python would work here? Both SCons and WAF use python, both are slow and complex - do you see a pattern here? (;

Regards,
FCh

--
--
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- You received this message because you are subscribed to the Google Groups "tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to