From ddee92011843cce870a060c19c2eca07f0e3c63d Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Thu, 23 Jun 2016 15:20:08 -0700 Subject: [PATCH] core: add -- syntax. --- core/bootstrap/syntax.factor | 1 + core/syntax/syntax.factor | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/core/bootstrap/syntax.factor b/core/bootstrap/syntax.factor index 43efda37c3..5d31199838 100644 --- a/core/bootstrap/syntax.factor +++ b/core/bootstrap/syntax.factor @@ -11,6 +11,7 @@ IN: bootstrap.syntax "(" ":" ";" + "--" "![[" "![=[" "![==[" "[[" "[=[" "[==[" "factor[[" "factor[=[" "factor[==[" diff --git a/core/syntax/syntax.factor b/core/syntax/syntax.factor index a12a510a09..7150ecd382 100644 --- a/core/syntax/syntax.factor +++ b/core/syntax/syntax.factor @@ -55,6 +55,10 @@ IN: bootstrap.syntax [ { "]" "}" ";" ">>" "COMPILE>" } [ define-delimiter ] each + "--" [ + "--" define-symbol + ] define-core-syntax + { "_" "@" } define-fry-specifiers ! "@" [ "Only valid inside a fry" throw ] ( -- * ) define-fry-specifier