syntax.scm 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. ;;; Syntax primitives
  2. ;;; Copyright (C) 2024 Igalia, S.L.
  3. ;;;
  4. ;;; Licensed under the Apache License, Version 2.0 (the "License");
  5. ;;; you may not use this file except in compliance with the License.
  6. ;;; You may obtain a copy of the License at
  7. ;;;
  8. ;;; http://www.apache.org/licenses/LICENSE-2.0
  9. ;;;
  10. ;;; Unless required by applicable law or agreed to in writing, software
  11. ;;; distributed under the License is distributed on an "AS IS" BASIS,
  12. ;;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. ;;; See the License for the specific language governing permissions and
  14. ;;; limitations under the License.
  15. ;;; Commentary:
  16. ;;;
  17. ;;; Primitive syntax.
  18. ;;;
  19. ;;; Code:
  20. (library (hoot syntax)
  21. (export _
  22. ... => else
  23. lambda case-lambda
  24. define define-values let let* letrec letrec* let-values let*-values
  25. or and
  26. begin
  27. if cond case when unless
  28. do
  29. set!
  30. quote quasiquote unquote unquote-splicing
  31. include include-ci
  32. define-syntax let-syntax letrec-syntax
  33. syntax-rules syntax-error
  34. include-from-path
  35. define-syntax-rule
  36. syntax-case syntax quasisyntax unsyntax unsyntax-splicing
  37. syntax->datum datum->syntax
  38. identifier? generate-temporaries free-identifier=? bound-identifier=?
  39. with-syntax identifier-syntax syntax-local-binding
  40. syntax-violation procedure-property
  41. target-runtime
  42. gensym
  43. lambda* case-lambda* define*)
  44. (import (hoot primitives)))