Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2003-12-02 08:40:46 -0800 (Tue, 02 Dec 2003)
Revision: 295
Log message:

      | 1. Reorganized buultins into several files.
      | 2. Added the $(which <file>) command, which finds the executable
      |    in the path.
      | 3. Added "special" functions, where the arguments are always lazy.
      |    This could be used, for example, for the $(if e1, e2, e3) function,
      |    where only one of e2 and e3 should be evaluated.
      |
      |    There is an interesting issue with lazy functions, so "if" stays
      |    eager for now.  Consider this code, when "if" is lazy.
      |
      |    A = 1
      |    B = 2
      |    X = $(if true, $(A), $(B))
      |    A = 3
      |    print(A = $(A))
      |
      |    This would print "A = 3" because of implicit quoting on the arguments
      |    to if.  This may-or-may-not be the expected semantics.
      

Changes  Path
+86 -4 libmojave/stdlib/lm_filename_util.ml
+5 -0 libmojave/stdlib/lm_filename_util.mli
+15 -1 libmojave/stdlib/lm_string_util.ml
+7 -0 libmojave/stdlib/lm_string_util.mli
+81 -0 omake/Files
+4 -2 omake/Makefile.in
+2 -2 omake/Makefile.nt
+1 -1 omake/OMakefile.in
+1 -0 omake/OMakeroot.src.in
+33 -657 omake/src/build/omake_builtin.ml
Added omake/src/build/omake_builtin_base.ml
Properties omake/src/build/omake_builtin_base.ml
Added omake/src/build/omake_builtin_base.mli
Properties omake/src/build/omake_builtin_base.mli
Added omake/src/build/omake_builtin_file.ml
Properties omake/src/build/omake_builtin_file.ml
Added omake/src/build/omake_builtin_file.mli
Properties omake/src/build/omake_builtin_file.mli
Added omake/src/build/omake_builtin_io.ml
Properties omake/src/build/omake_builtin_io.ml
Added omake/src/build/omake_builtin_io.mli
Properties omake/src/build/omake_builtin_io.mli
Added omake/src/build/omake_builtin_type.ml
Properties omake/src/build/omake_builtin_type.ml
Added omake/src/build/omake_builtin_util.ml
Properties omake/src/build/omake_builtin_util.ml
Added omake/src/build/omake_builtin_util.mli
Properties omake/src/build/omake_builtin_util.mli
+28 -20 omake/src/env/omake_env.ml
+3 -2 omake/src/env/omake_env.mli
+7 -6 omake/src/eval/omake_eval.ml
+13 -9 omake/src/eval/omake_rule.ml
+1 -0 omake/src/eval/omake_rule.mli
+8 -2 omake/src/eval/omake_value.ml
+3 -3 omake/src/ir/omake_cache_type.ml
+9 -8 omake/src/ir/omake_command.ml