function-slot.scm 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. ;;; Guile Emacs Lisp
  2. ;;; Copyright (C) 2009, 2010 Free Software Foundation, Inc.
  3. ;;;
  4. ;;; This library is free software; you can redistribute it and/or
  5. ;;; modify it under the terms of the GNU Lesser General Public
  6. ;;; License as published by the Free Software Foundation; either
  7. ;;; version 3 of the License, or (at your option) any later version.
  8. ;;;
  9. ;;; This library is distributed in the hope that it will be useful,
  10. ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. ;;; Lesser General Public License for more details.
  13. ;;;
  14. ;;; You should have received a copy of the GNU Lesser General Public
  15. ;;; License along with this library; if not, write to the Free Software
  16. ;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  17. (define-module (language elisp runtime function-slot)
  18. #:use-module ((language elisp compile-tree-il)
  19. #:select
  20. ((compile-progn . progn)
  21. (compile-eval-when-compile . eval-when-compile)
  22. (compile-if . if)
  23. (compile-defconst . defconst)
  24. (compile-defvar . defvar)
  25. (compile-setq . setq)
  26. (compile-let . let)
  27. (compile-flet . flet)
  28. (compile-labels . labels)
  29. (compile-let* . let*)
  30. (compile-guile-ref . guile-ref)
  31. (compile-guile-private-ref . guile-private-ref)
  32. (compile-guile-primitive . guile-primitive)
  33. (compile-function . function)
  34. (compile-defun . defun)
  35. (compile-defmacro . defmacro)
  36. (#{compile-`}# . #{`}#)
  37. (compile-quote . quote)
  38. (compile-%funcall . %funcall)
  39. (compile-%set-lexical-binding-mode
  40. . %set-lexical-binding-mode)))
  41. #:duplicates (last)
  42. ;; special operators
  43. #:re-export (progn
  44. eval-when-compile
  45. if
  46. defconst
  47. defvar
  48. setq
  49. let
  50. flet
  51. labels
  52. let*
  53. guile-ref
  54. guile-private-ref
  55. guile-primitive
  56. function
  57. defun
  58. defmacro
  59. #{`}#
  60. quote
  61. %funcall
  62. %set-lexical-binding-mode)
  63. #:pure)