Re: [Readable-discuss] :depends-on readable not working
On Sat, 06 Dec 2014 12:17:31 -0800, Alexander Dunn dunn.a...@icloud.com wrote: Hi readable, ... If I execute (readable:enable-sweet) in the REPL before I execute (ql:quickload “help), it compiles just fine. But, I don’t understand why the same doesn’t work when I put (readable:enable-sweet) inside my help.lisp. Sorry about the bug. I just posted to the devel branch an updated version of the readable library that fixes the bug. This is a pretty important problem, so I plan to post an update to the package tonight on the master branch. If anyone objects, please let me know asap. The change is pretty straightforward; here's a quick summary. This version turns the enable-* functions into macros so that they can invoke eval-when. During compilation the macros can only call functions that are *already* compiled, so the enabling macros have been moved into a separate file (so we can easily ensure that the macros only call already-compiled functions). It'll take a little time before QuickLisp picks up the updated master branch version. As a temporary workaround, I suggest replacing any call to (readable:enable-sweet) with: (eval-when (:compile-toplevel :load-toplevel :execute) (readable:enable-sweet)) Once QuickLisp picks up the update, the problem should disappear. --- David A. Wheeler -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ Readable-discuss mailing list Readable-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/readable-discuss
Re: [Readable-discuss] :depends-on readable not working
On Sat, 06 Dec 2014 12:17:31 -0800, Alexander Dunn dunn.a...@icloud.com wrote: Hi readable, Thanks for making this fantastic package! I’m new to LISP and this has made LISP programming far more appealing. Great! I’m trying to use the Quicklisp package “readable as a dependency in a package I created using QuickLisp’s quickproject. Attached is an example project to demonstrate my problem. Thanks for the report! I can reproduce the problem, but I'm not sure how to best fix it, and I have to run off right now. Anyone else have thoughts? I can reproduce on Linux using: mkdir /home/dwheeler/local-projects/help ... unzipped and put .lisp, .asd, etc. in that directory ... sbcl (push #p/home/dwheeler/local-projects/help/ asdf:*central-registry*) (ql:quickload help) --- David A. Wheeler -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ Readable-discuss mailing list Readable-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/readable-discuss
Re: [Readable-discuss] :depends-on readable not working
On Sat, 06 Dec 2014 12:17:31 -0800, Alexander Dunn dunn.a...@icloud.com wrote: If I execute (readable:enable-sweet) in the REPL before I execute (ql:quickload “help), it compiles just fine. But, I don’t understand why the same doesn’t work when I put (readable:enable-sweet) inside my help.lisp. On first blush, this looks like missing 'eval-when' clauses in the readable package. --- David A. Wheeler -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ Readable-discuss mailing list Readable-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/readable-discuss
Re: [Readable-discuss] :depends-on readable not working
On Sat, 06 Dec 2014 12:17:31 -0800, Alexander Dunn dunn.a...@icloud.com wrote: Hi readable, Thanks for making this fantastic package! I’m new to LISP and this has made LISP programming far more appealing. I’m trying to use the Quicklisp package “readable as a dependency in a package I created using QuickLisp’s quickproject Okay, I'm back at a real computer instead of a smart phone. Try this: In your code, replace the line: (readable:enable-sweet) with the following: (eval-when (:compile-toplevel :load-toplevel :execute) (readable:enable-sweet)) It worked for me, but I want to know if it works for you. If it *does* work, then the next step is to decide what to do about it longer term. I certainly welcome comments from someone else. But let's get Alexander Dunn back to doing good things, first, and we then can decide how to make sure no one else has a problem. --- David A. Wheeler -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk ___ Readable-discuss mailing list Readable-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/readable-discuss