From 825891c7ef63f30e269445a00c3be2da50bb73b9 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Fri, 29 Dec 2017 11:09:53 -0800 Subject: [PATCH] syntax: add ': for fried words --- core/syntax/syntax.factor | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/syntax/syntax.factor b/core/syntax/syntax.factor index 867d2adc35..3087f5abe6 100644 --- a/core/syntax/syntax.factor +++ b/core/syntax/syntax.factor @@ -319,7 +319,9 @@ IN: bootstrap.syntax "IDENTITY-MEMO:" [ (:) apply-inlined-effects define-identity-memoized ] define-core-syntax "IDENTITY-MEMO::" [ (::) apply-inlined-effects define-identity-memoized ] define-core-syntax - "'[" [ parse-quotation fry append! ] define-core-syntax + "':" [ + (:) [ fry '[ @ call ] ] [ apply-inlined-effects ] bi* define-declared + ] define-core-syntax "PROTOCOL:" [ scan-new-word parse-definition define-protocol