Changeset 20899 in project


Ignore:
Timestamp:
10/20/10 04:25:46 (10 years ago)
Author:
Ivan Raikov
Message:

miniML: removing NineML-related syntactic pollution

Location:
release/4/miniML/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • release/4/miniML/trunk/miniML.grm

    r20763 r20899  
    7777    (FUNCTION IDENT ARROW valexpr)      : (Function (token-value $2) $4)
    7878    (LET IDENT valbind IN valexpr)      : (Let0 (token-value $2) $3 $5)
    79     (RETURN valexpr)                    : $2
    80     (VALUE IDENT valbind valexpr)       : (Let0 (token-value $2) $3 $4)
    8179    (IF valexpr THEN valexpr ELSE valexpr) : (ternop "cond" $2 $4 $6)
    8280    )
  • release/4/miniML/trunk/miniML.l

    r20763 r20899  
    3636;; Lexer rules
    3737
    38 ("component"|"module")           (tok (MODULE))
    39 ("val"|"binding")                (tok (VALUE))
    40 
    41 "function"         (tok (FUNCTION))
     38"module"           (tok (MODULE))
     39"val"              (tok (VALUE))
    4240"fun"              (tok (FUNCTION))
    43 "return"           (tok (RETURN))
    44 "ret"              (tok (RETURN))
    4541"let"              (tok (LET))
    4642"struct"           (tok (STRUCT))
Note: See TracChangeset for help on using the changeset viewer.