Changes by: Jason J. Hickey (jyh at cs.caltech.edu)
Date: 2007-05-03 10:17:49 -0700 (Thu, 03 May 2007)
Revision: 10613
Log message:

      Added the array arguments, bug #645.  The syntax is:
        - ... for a normal body argument
        - [...] for an array body argument
     
        X =
           file([...])
              a
              b
              c
        - : <array
            /Users/jyh/projects/omake/0.9.8.x/a : File
            /Users/jyh/projects/omake/0.9.8.x/b : File
            /Users/jyh/projects/omake/0.9.8.x/c : File>
            : Array
     
     If an application has an elision, you can omit the colon
     at the end in interactive mode.
     
     This can still be improved, especially with keyword
     arguments.  When there are keyword arguments, the argument
     lines can get long.  It might be nice to allow using
     a line break instead of the , separator.
     
        f(X[] =
             a
             b
             c
          foo
          Y = 1)
     
     Or perhaps allow mixed notation.
     
        f(X = 1
          Y = 2
          a, b, c)

Changes  Path
+2 -1 omake-branches/0.9.8.x/src/ast/omake_ast.ml
+5 -0 omake-branches/0.9.8.x/src/ast/omake_ast_print.ml
+112 -39 omake-branches/0.9.8.x/src/ast/omake_ast_util.ml
+5 -4 omake-branches/0.9.8.x/src/ast/omake_ast_util.mli
+5 -4 omake-branches/0.9.8.x/src/env/omake_ast_lex.mll
+22 -40 omake-branches/0.9.8.x/src/env/omake_ast_parse.input
+1 -1 omake-branches/0.9.8.x/src/env/omake_gen_parse.ml
+12 -1 omake-branches/0.9.8.x/src/env/omake_ir_ast.ml