core: better syntax for comment.
[[ foo ]] is a string ``#[[foo]]`` is a turned-off stringmodern-harvey3
parent
953e6511ee
commit
8a46a16530
|
@ -140,6 +140,14 @@ IN: bootstrap.syntax
|
||||||
"![=====["
|
"![=====["
|
||||||
"![======["
|
"![======["
|
||||||
|
|
||||||
|
"#[["
|
||||||
|
"#[=["
|
||||||
|
"#[==["
|
||||||
|
"#[===["
|
||||||
|
"#[====["
|
||||||
|
"#[=====["
|
||||||
|
"#[======["
|
||||||
|
|
||||||
"I[["
|
"I[["
|
||||||
"I[=["
|
"I[=["
|
||||||
"I[==["
|
"I[==["
|
||||||
|
|
|
@ -420,6 +420,14 @@ IN: bootstrap.syntax
|
||||||
"![=====[" [ "]=====]" parse-multiline-string0 drop ] define-core-syntax
|
"![=====[" [ "]=====]" parse-multiline-string0 drop ] define-core-syntax
|
||||||
"![======[" [ "]======]" parse-multiline-string0 drop ] define-core-syntax
|
"![======[" [ "]======]" parse-multiline-string0 drop ] define-core-syntax
|
||||||
|
|
||||||
|
"#[[" [ "]]" parse-multiline-string0 drop ] define-core-syntax
|
||||||
|
"#[=[" [ "]=]" parse-multiline-string0 drop ] define-core-syntax
|
||||||
|
"#[==[" [ "]==]" parse-multiline-string0 drop ] define-core-syntax
|
||||||
|
"#[===[" [ "]===]" parse-multiline-string0 drop ] define-core-syntax
|
||||||
|
"#[====[" [ "]====]" parse-multiline-string0 drop ] define-core-syntax
|
||||||
|
"#[=====[" [ "]=====]" parse-multiline-string0 drop ] define-core-syntax
|
||||||
|
"#[======[" [ "]======]" parse-multiline-string0 drop ] define-core-syntax
|
||||||
|
|
||||||
"I[[" [ "]]" define-interpolate-syntax ] define-core-syntax
|
"I[[" [ "]]" define-interpolate-syntax ] define-core-syntax
|
||||||
"I[=[" [ "]=]" define-interpolate-syntax ] define-core-syntax
|
"I[=[" [ "]=]" define-interpolate-syntax ] define-core-syntax
|
||||||
"I[==[" [ "]==]" define-interpolate-syntax ] define-core-syntax
|
"I[==[" [ "]==]" define-interpolate-syntax ] define-core-syntax
|
||||||
|
|
Loading…
Reference in New Issue