Paste: literal-syntax

Author: dharmatech
Mode: factor
Date: Sat, 15 Nov 2008 11:59:58
Plain Text |
USING: parser
       arrays
       vectors
       quotations
       classes.tuple.parser
       ;

IN: literal-syntax

DEFER: }

:  { \ } [ >array     ] parse-literal ; parsing

: V{ \ } [ >vector    ] parse-literal ; parsing

: T{ parse-tuple-literal parsed       ; parsing

:  [ \ ]
   USE: syntax
   [ >quotation ] parse-literal ; parsing

New Annotation

Summary:
Author:
Mode:
Body: