Skip to content

Error defining macro-defining macro #56

@TheGreatCatAdorer

Description

@TheGreatCatAdorer
(let w (gensym W) x (gensym X) y (gensym Y) zs (gensym Zs)
  (defmacro declare-reduce-binary
    [declare [reduce-binary Name] | Declarations] ->
      (let macro-name (gensym Name)
        [[lambda x [lambda y y]]
         [defmacro macro-name
           [query reduce-binary Name] -> macro-name
           [Name w x y | zs] -> [Name w [Name x y | zs]]]
         [declare | Declarations]])))

error: The function SHEN::V154 is undefined.
version:

Shen, copyright (C) 2010-2015 Mark Tarver
www.shenlanguage.org, Shen 22.2
running under Common Lisp, implementation: SBCL
port 3.0.3 ported by Mark Tarver, Robert Koeninger and Bruno Deferrari

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions