On 11/11/2014 02:46 PM, David Roundy wrote:
The biggest thing is that the documentation doesn't answer the question that is the subject of this email thread: why would one want to use lua?
[...]
1. Explanation of why one would care. (Which I still haven't learned, except perhaps for portability to lame systems like windows. But since my projects use python, that's not really an issue, unless there is some way to *find* an installed python that is not in the path using lua.)

C'mon, I've given you some reasons myself in the e-mails... This is of course true, that whatever you can do with lua can be done with run-script, but I see no problem in having a lot of run-script functionality available directly in tup, with no external dependancies and using a simple to learn, powerful and popular language like lua...

A few things hard/impossible to do in original tup parser:
- mirroring complete directory structure when compiling into a subdirectory
- any string processing other than concatenation (like adding "-I" before every folder given in configuration) - using files (like a list of sources, outputs, commands, ...) to create the build description

A few things that are problematic with run-scripts:
- when you use shell scripts then things get complicated on different systems, and very complicated on Windows,
- external dependency on some language interpreter (like python)
- any solutions to any problem would be external to tup, so it's hard to write examples about solving them (which language will you use? why this one?)

For you using run-script and python is more convenient, for someone else it may be completely opposite... No one is forcing you to use lua in tup (or tup at all), but you seem like someone trying to convince others NOT to use lua and use Python instead...

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