* Added quasisyntax, unsyntax, unsyntax-splicing reader macros.
This commit is contained in:
parent
3820bffee3
commit
1864ca830b
BIN
src/ikarus.boot
BIN
src/ikarus.boot
Binary file not shown.
|
@ -264,6 +264,13 @@
|
|||
[($char= #\\ c) (tokenize-char p)]
|
||||
[($char= #\( c) 'vparen]
|
||||
[($char= #\' c) '(macro . syntax)]
|
||||
[($char= #\` c) '(macro . quasisyntax)]
|
||||
[($char= #\, c)
|
||||
(let ([c (peek-char p)])
|
||||
(cond
|
||||
[(eqv? c #\@) (read-char p)
|
||||
'(macro . unsyntax-splicing)]
|
||||
[else '(macro . unsyntax)]))]
|
||||
[($char= #\; c) 'hash-semi]
|
||||
[($char= #\% c) '(macro . |#primitive|)]
|
||||
[($char= #\| c) (multiline-comment p) (tokenize p)]
|
||||
|
|
Loading…
Reference in New Issue