Finalize psyntax integration.
authorJan Nieuwenhuizen <janneke@gnu.org>
Wed, 2 Nov 2016 09:36:09 +0000 (10:36 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 12 Dec 2016 19:33:49 +0000 (20:33 +0100)
commit2b373ff40f677b18cab0caa112f763a82bc5a5f0
tree41bfe138bf5c400e6a9752fa96963f57d7dfcdf0
parentc851935d4dbd926620ed3d0af0399da5dd74a71e
Finalize psyntax integration.

* mes.c (sc_expand_env): Exclude primitives, expand native macros.
  (symbol_expand_macro): New symbol.
* module/mes/psyntax-0.mes (properties-alist): New function.
* module/mes/psyntax-1.mes: Set expand-macro.
  (define-syntax, syntax-rules, let-syntax): Remove macro.
* module/language/c/parser.mes: Use psyntax modules, remove syntax module.
* module/language/paren.mes: Likewise.
* scripts/repl.mes: Likewise.
* tests/match.test: Likewise.
* tests/record.test: Likewise.
* tests/psyntax.test (define-syntax swap!): Add test.
* module/mes/let-syntax.mes: Remove.
* module/mes/syntax.mes: Remove.
14 files changed:
GNUmakefile
mes.c
module/language/c/parser.mes
module/language/paren.mes
module/mes/let-syntax.mes [deleted file]
module/mes/psyntax-0.mes
module/mes/psyntax-1.mes
module/mes/syntax.mes [deleted file]
scripts/mescc.mes
scripts/paren.mes
scripts/repl.mes
tests/match.test
tests/psyntax.test
tests/record.test