core: add -- syntax.

locals-and-roots
Doug Coleman 2016-06-23 15:20:08 -07:00
parent ce415c5184
commit ddee920118
2 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,7 @@ IN: bootstrap.syntax
"(" "("
":" ":"
";" ";"
"--"
"![[" "![=[" "![==[" "![[" "![=[" "![==["
"[[" "[=[" "[==[" "[[" "[=[" "[==["
"factor[[" "factor[=[" "factor[==[" "factor[[" "factor[=[" "factor[==["

View File

@ -55,6 +55,10 @@ IN: bootstrap.syntax
[ [
{ "]" "}" ";" ">>" "COMPILE>" } [ define-delimiter ] each { "]" "}" ";" ">>" "COMPILE>" } [ define-delimiter ] each
"--" [
"--" define-symbol
] define-core-syntax
{ "_" "@" } define-fry-specifiers { "_" "@" } define-fry-specifiers
! "@" [ "Only valid inside a fry" throw ] ( -- * ) define-fry-specifier ! "@" [ "Only valid inside a fry" throw ] ( -- * ) define-fry-specifier