Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-07-25 21:15:30 -0700 (Sun, 25 Jul 2004)
Revision: 471
Log message:

      Added arrays, so finally we can have files with spaces in their name.
      The syntax is:
          $(array <val1>, ..., <valn>)
      or
          X[] =
             <val_1>
             ...
             <val_n>
      
      The destructor is the usual $(nth <index>, <array>).
      Arrays expand with spaces between the names.
      
         X[] =
             a b
             c d e
             f
      
         println(X = $(X))
         println(SUFFIX = $(addsuffix .foo, $(X))
      
      Prints:
         X = a b c d e f
         SUFFIX = a b.foo c d e.foo f.foo
      

Changes  Path
+1 -0 omake/Files
+11 -0 omake/doc/src/omake-intro.tex
+35 -0 omake/omake_ast_parse.mly
+1 -0 omake/src/ast/omake_ast.ml
+5 -0 omake/src/ast/omake_ast_print.ml
+1 -0 omake/src/ast/omake_ast_util.ml
+66 -52 omake/src/build/omake_builtin_base.ml
+91 -79 omake/src/build/omake_builtin_file.ml
+8 -8 omake/src/build/omake_builtin_fun.ml
+5 -5 omake/src/build/omake_builtin_io.ml
+4 -7 omake/src/build/omake_builtin_util.ml
+0 -5 omake/src/build/omake_builtin_util.mli
+6 -2 omake/src/env/omake_ast_lex.mll
+8 -1 omake/src/env/omake_env.ml
+1 -0 omake/src/env/omake_env.mli
+20 -1 omake/src/env/omake_ir_ast.ml
+5 -1 omake/src/eval/omake_eval.ml
+84 -1 omake/src/eval/omake_value.ml
+5 -1 omake/src/eval/omake_value.mli
+1 -0 omake/src/ir/omake_ir.ml
+3 -0 omake/src/ir/omake_ir_print.ml
+1 -1 omake/version.txt