1. 11 Feb, 2016 1 commit
  2. 10 Feb, 2016 1 commit
  3. 07 Feb, 2016 1 commit
  4. 04 Feb, 2016 1 commit
  5. 02 Feb, 2016 3 commits
    • Jon Oddie's avatar
      Add `slime-macrostep' contrib. · 837ffe76
      Jon Oddie authored and Luís Oliveira's avatar Luís Oliveira committed
      Provide slightly fancier in-place macroexpansion by integrating with the
      `macrostep.el' library originally written for Emacs Lisp.  This commit
      is a squashed version of work co-authored with Luís Oliveira
      <luismbo@gmail.com>.
      
      * lib/macrostep.el: New file.  This is a bundled version of the library
      developed at http://github.com/joddie/macrostep and also available via
      MELPA.  The bundled copy will be used as a fallback if it is not
      installed separately.
      
      * contrib/slime-macrostep.el: New file.
      * contrib/swank-macrostep.lisp: New file.
      * contrib/test/slime-macrostep-tests.el: New file.
      * contrib/slime-fancy.el (slime-fancy): Add `slime-macrostep'.
      
      * swank/backend.lisp (call-with-macro-form-collector): New function.
      (with-collected-macro-forms): Use it.  Also, optionally bind a
      variable to the result of INSTRUMENTED-FORM.
      (collect-macro-forms): Replace let+setq with the new
      WITH-COLLECTED-MACRO-FORMS syntax.
      
      * swank/sbcl.lisp (collect-macro-forms): SBCL implementation using a
        code-walker.
      * swank/abcl.lisp (collect-macro-forms): ABCL implementation
        using WITH-COLLECTED-MACRO-FORMS.
      * swank/clisp.lisp (collect-macro-forms): CLISP implementation using
        WITH-COLLECTED-MACRO-FORMS.
      
      * swank-loader.lisp (*contribs*): Add `swank-macrostep'.
      837ffe76
    • Jon Oddie's avatar
      Add optional ENV argument to SWANK:MACROEXPAND-ALL · a38da72f
      Jon Oddie authored and Luís Oliveira's avatar Luís Oliveira committed
      Implementations for ABCL, CCL, CMUCL, and SBCL have been updated to pass
      the additional environment argument to the underlying implementation.
      Other implementations accept the optional argument but ignore it.
      
      * swank/backend.lisp (macroexpand-all): Add &optional ENV arg to
        lambda-list.
      
      * swank/abcl.lisp (macroexpand-all)
      * swank/ccl.lisp (macroexpand-all)
      * swank/cmucl.lisp (macroexpand-all)
      * swank/sbcl.lisp (macroexpand-all): Update defimplementations to use
        the ENV arg.
      
      * swank/allegro.lisp (macroexpand-all)
      * swank/clasp.lisp (macroexpand-all)
      * swank/clisp.lisp (macroexpand-all)
      * swank/corman.lisp (macroexpand-all)
      * swank/ecl.lisp (macroexpand-all)
      * swank/lispworks.lisp (macroexpand-all)
      * swank/mkcl.lisp (macroexpand-all)
      * swank/scl.lisp (macroexpand-all): Update defimplementations to accept
        but ignore the ENV arg.
      a38da72f
    • Jon Oddie's avatar
      * swank/abcl.lisp (macroexpand-all): Use EXT:MACROEXPAND-ALL. · 864a9467
      Jon Oddie authored and Luís Oliveira's avatar Luís Oliveira committed
      This function has been available in ABCL since 2009.  See, e.g.,
      discussion at
      
      http://armedbear-devel.common-lisp.narkive.com/0TR5ZaAt/macroexpand-all
      864a9467
  6. 29 Jan, 2016 7 commits
  7. 13 Jan, 2016 1 commit
  8. 11 Jan, 2016 2 commits
  9. 29 Dec, 2015 1 commit
  10. 13 Dec, 2015 3 commits
  11. 11 Dec, 2015 1 commit
  12. 09 Dec, 2015 1 commit
  13. 08 Dec, 2015 1 commit
  14. 07 Dec, 2015 1 commit
  15. 06 Dec, 2015 2 commits
  16. 29 Nov, 2015 1 commit
  17. 26 Nov, 2015 2 commits
  18. 23 Nov, 2015 1 commit
  19. 18 Nov, 2015 1 commit
  20. 11 Nov, 2015 1 commit
  21. 10 Nov, 2015 5 commits
  22. 04 Nov, 2015 2 commits