Module: dfmc-macro-expander Synopsis: Hacks to convert emulator-style patterns/macros to compiler style descriptions. Bootstrapping only. Author: Keith Playford Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc. All rights reserved. License: Functional Objects Library Public License Version 1.0 Dual-license: GNU Lesser General Public License Warranty: Distributed WITHOUT WARRANTY OF ANY KIND define macro hack-import-definer { define hack-import ?names end } => { ?names } names: { } => { } { ?:name, ... } => { define constant "old/" ## ?name = access(infix-reader, ?name); ... } end macro; define hack-import , fragment-tokens, , , , , , name, wildcard?, , type, , , rest-pattern, key-patterns, rest?, key?, all-keys?, , pattern, before, after, , name, pattern, template, , , , , body-pattern, *semicolon*,