Paste: draft

Author: dondy
Mode: factor
Date: Sun, 17 Feb 2013 18:14:36
Plain Text |
! Copyright (C) 2013 Your name.
! See http://factorcode.org/license.txt for BSD license.
USING: kernel effects effects.parser parser words ;
IN: draft

: (:-) ( -- word def effect )
    [ scan-new-word dup stack-effect parse-definition swap ]
    with-definition ;

SYNTAX: :- (:-) define-declared ;

Annotation: finished

Author: dondy (PGGB did write that actually)
Mode: factor
Date: Sun, 17 Feb 2013 18:38:27
Plain Text |
! Copyright (C) 2013 Your name.
! See http://factorcode.org/license.txt for BSD license.
USING: effects.parser kernel parser stack-checker words ;
IN: draft

: (:-) ( -- word def effect )
    [ scan-new-word parse-definition dup infer ]
    with-definition ;

SYNTAX: :- (:-) define-declared ;

New Annotation

Summary:
Author:
Mode:
Body: