1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-18 01:30:27 +02:00

use correct names for quasiquotation operators

Use #{`}#, #{,}# and #{,@}# as the quasiquote, unquote and
unquote-splicing operators, respectively. Previously they were named
escaping.

* module/language/elisp/compile-tree-il.scm (unquote?): Change "\," to
  "#{,}#".
  (unquote-splicing): Change "\,@" to "#{,@}#".
  (#{compile-`}#): Rename from #{compile-\`}#.
* module/language/elisp/runtime/function-slot.scm: Import #{compile-`}#
  instead of #{compile-\`}#, and re-export as #{`}# instead of as
  #{\`}#.
* module/language/elisp/parser.scm (quotation-symbols):
* test-suite/tests/elisp-compiler.test ("Eval", "Quotation"):
* test-suite/tests/elisp-reader.test ("Parser"): Change "\`", "\,", and
  "\,@" to "#{`}#", "#{,}#" and "#{,@}#", respectively.
This commit is contained in:
Brian Templeton 2010-07-09 20:33:32 -04:00 committed by Andy Wingo
parent 44ae163d2c
commit 0dbfdeefc6
5 changed files with 19 additions and 19 deletions

View file

@ -165,9 +165,9 @@
;;; routine in our recursive-descent parser.
(define quotation-symbols '((quote . quote)
(backquote . \`)
(unquote . \,)
(unquote-splicing . \,@)))
(backquote . #{`}#)
(unquote . #{,}#)
(unquote-splicing . #{,@}#)))
(define (get-expression lex)
(let* ((token (lex 'get))