From: Craig L. <cla...@us...> - 2013-09-23 19:34:54
|
On Mon, 2013-09-23 at 12:38 -0400, Dave Cooper wrote: > > > > > Hi Craig, > > > Thank you for all the help so far (and all the effort you've put into > exp-engine!). I'm glad to see someone interested in using it. Most people see that it is written in Lisp and then refuse to try it out. > I think we are close to getting something to work, just need a bit > more advice on exactly how to kick off a validation run (see below). I > think Solomon will be happy either being able to run ./eengine on the > OS command line, or running the ee:exp-engine function from within a > Lisp session. We just have to get a bit more educated on how to do it > properly. The validation code in ./eengine is not complete. The validation code in ./expresso is complete. Expresso was originally a LispWorks CAPI GUI project. I succeeded in building it as a command line tool, but haven't used it lately so I need to make sure nothing is broken. > > Incidentally, in due course (when I understand the system a bit > better) I will be happy to give feedback on setting things up to be > able to switch CLIM on and off, getting the library included into > Quicklisp, etc. I'm about to reorganize the eengine code so that it will be easier to modify and will more naturally be able to run with or without CLIM. I still haven't bought into the whole Quicklisp thing. Maybe I haven't played with it enough. CLSM (Common Lisp System Manager) is a system I'm working on for managing Lisp software. Its syntax is loosely (from my memory) based on Symbolics' System Construction Tool (SCT). My first introduction to Lisp was on a Symbolics Lisp Machine in 1985. > > By the way, with SBCL, are you using mcclim as the CLIM module? I was > able to get :mcclim loaded through Quicklisp: Right now, when I use CLIM, I use it in LispWorks. McCLIM is not mature enough to be able to do everything that I want to do and I don't have the time to bring it up to the level I need. > > > (ql:quickload :mcclim) > > > but, after loading, I don't see some of the the operators you are > using, like clim:note-progress, defined in there by default... Hence my comment about maturity. Craig > > > > On Mon, Sep 23, 2013 at 9:34 AM, Craig Lanning > <cla...@us...> wrote: > On Sun, 2013-09-22 at 22:33 -0400, Dave Cooper wrote: > > > > Indeed, from an interactive SBCL session I can now do: > > > > > > (load "load-engine") > > > > > > But is there a way to run the command-line system from > within an > > interactive Lisp? It seems that the command-line system > currently > > meant to be run in batch from an OS command-shell prompt > using the > > eengine executable, isn't it? > > > Yes, use the function EE:EXP-ENGINE. > > > > > Can you give an example of calling ee:exp-engine from within a running > Lisp? > > > Alternatively:... > > > > You can build the standalone executable if you modify the > "sbcl/deliver.lisp" file to load "load-engine.lisp" instead of > "system.lisp". > > > > Ok, with the clim: operators commented out, and sbcl/deliver.lisp > modified to load "load-engine.lisp" instead of "system.lisp", we get > an eengine produced. > > > Running: > > > ./eengine --help > > > produces generic SBCL help. > > > > > Running > > > ./eengine [with no arguments] > > > produces: > > > > > Error: There is no applicable method for the generic function > #<STANDARD-GENERIC-FUNCTION EEK:MAKE-SESSION (1)> when > called with arguments > > > (:CLIM). > > > > (because apparently the ee-restart in top-level.lisp is still trying > to call the :clim operation). > > > Modifying the ee-restart function in top-level.lisp to apply the :cli > (presumably "command-line interface" instead of :clim operation, as > follows: > > > > > > (defun ee-restart (#|restart functions take no args|#) > (handler-case > (let ((args (get-args))) > (apply #'exp-engine :operation :cli :name (file-namestring > (first args)) > (arglist-to-plist (rest args)))) > (cli-arg-invalid (err) > (unless (eql (mode err) :help) (format t "Error: ~A~%" err)) > (run-op nil :help) > (exit 1)) > (ee-error (err) > (format t "Express Engine Error: ~A~%" err) > (exit 1)) > (error (err) > (format t "Error: ~A~%" err) > (exit 1))) > (exit 0)) > > > > > then rebuilding the eengine, produces: > > > ./eengine > > > Error: There is no applicable method for the generic function > #<STANDARD-GENERIC-FUNCTION EE:RUN-OP (9)> > when called with arguments > (#<EEK::CL-SESSION {10035B97F3}> :CLI). > > > > > So, is there something different which has to happen in the > ee-restart, or am I not passing the correct arguments to > the ./eengine ? I assume the > > > ./eengine --help > > > it intended to give specific command-line advice for eengine, but as I > mentioned, it's giving generic SBCL command-line help. > > > > > Best Regards, > > > Dave > > > > > > Express Engine is currently in a development state. Not all > of the > functionality is even working right now. > > What are you wanting to do with it? > > > > > As I mentioned, I did get the eengine executable to build > > successfully. But running it with no arguments throws the > error: > > > > > > > > > This is from the function ee-restart, defined in > top-level.lisp, and > > seems to invoke a :clim operation by default. Is there a > different > > restart function which should be used for command-line > operation? > > > I think it should give you help if you do > > ./eengine --help > > Craig > > > > > Regards > > > > > > Dave > > > > > > > > > > > > > > > > > > On Sun, Sep 22, 2013 at 10:22 PM, Craig Lanning > > <cla...@us...> wrote: > > Comment out any CLSM stuff, too. > > > > You should be able to compile/load everything by > loading the > > file > > "load-engine.lisp". > > > > Craig > > > > On Sun, 2013-09-22 at 21:48 -0400, Dave Cooper > wrote: > > > > > > Hi Craig, > > > > > > > > > Thanks for the tips. I went ahead and commented > out the > > CLIM stuff. > > > Now I'm getting: > > > > > > > > > Package CLSM does not exist > > > > > > > > > coming from the bottom line of sbcl/compile.lisp > > > > > > > > > The (load "system") above that seems to be > completing > > successfully. > > > > > > > > > But, I'm not seeing a definition for the :CLSM > package > > anywhere... > > > > > > > > > > > > > > > Regards, > > > > > > > > > Dave > > > > > > > > > > > > > > > > > > > > > On Sun, Sep 22, 2013 at 8:40 PM, Craig Lanning > > > <cla...@us...> wrote: > > > Sorry about that. > > > > > > I've been wanting to work on the graphical > version > > so I added > > > CLIM > > > things. > > > > > > If you want to comment out any CLIM stuff, > then you > > should be > > > able to > > > build the command line version. There are > several > > places > > > where > > > NOTING-PROGRESS and its associates show up > in the > > kernel/ code > > > and in > > > the plugins/p11/ and plugins/p21. > > > > > > Craig > > > > > > On Sun, 2013-09-22 at 19:20 -0400, Dave > Cooper > > wrote: > > > > > > > > > > > > Dear Exp'ers, > > > > > > > > > > > > I am trying to get the command-line > version built > > on SBCL > > > but ran into > > > > a couple glitches so thought I would ask > here > > before getting > > > myself > > > > into more trouble... > > > > > > > > > > > > I am following the build instructions > from: > > > > > > > > > > > > > > > http://sourceforge.net/p/exp-engine/engine/ci/master/tree/ > > > > > > > > > > > > The first issue I hit is: > > > > > > > > > > > > Undefined function COMPILE-LOAD > > > > > > > > > > > > This function appears to be defined in > > load-engine.lisp. So, > > > I put > > > > that into my ~/.sbclrc file and tried > again. > > > > > > > > > > > > > > > > > > > > Next issue is: > > > > > > > > > > > > Undefined package :CLIM in > streams.lisp. > > > > > > > > > > > > This is coming from use of > clim:noting-progress > > in > > > streams.lisp. > > > > > > > > > > > > > > > > > > > > Should CLIM really be required for a > command-line > > version? > > > > > > > > > > > > > > > > > > > > It will be nice to have a full portable > GUI going > > at some > > > point but > > > > the first goal is to get a robust > command-line > > version > > > working. > > > > > > > > > > > > So, does anyone have advice on getting > things > > built with > > > inclusion of > > > > the needed COMPILE-LOAD function, and > without CLIM > > > dependency? > > > > > > > > > > > > By the way, if/when we get the basic > command-line > > > application > > > > building, would there be any interest in > getting > > this > > > project into > > > > Quicklisp? I am somewhat familiar with > ASDF and > > Quicklisp, > > > and could > > > > help from that end of things. > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > My Best, > > > > > > > > Dave Cooper, Genworks Support > > > > dav...@ge..., > > dave.genworks.com(skype) > > > > USA: 248-327-3253(o), > 1-248-330-2979(mobile) > > > > UK: 0191 645 1699 > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > LIMITED TIME SALE - Full Year of > Microsoft > > Training For Just > > > $49.99! > > > > 1,500+ hours of tutorials including > VisualStudio > > 2012, > > > Windows 8, SharePoint > > > > 2013, SQL 2012, MVC 4, more. BEST VALUE: > New > > Multi-Library > > > Power Pack includes > > > > Mobile, Cloud, Java, and UX Design. > Lowest price > > ever! Ends > > > 9/22/13. > > > > > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk > > > > > _______________________________________________ > > > > Exp-engine-devel mailing list > > > > Exp...@li... > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/exp-engine-devel > > > > > > > > > > > > > > > > > > > > > -- > > > My Best, > > > > > > Dave Cooper, Genworks Support > > > dav...@ge..., > dave.genworks.com(skype) > > > USA: 248-327-3253(o), 1-248-330-2979(mobile) > > > UK: 0191 645 1699 > > > > > > > > > ------------------------------------------------------------------------------ > > > LIMITED TIME SALE - Full Year of Microsoft > Training For Just > > $49.99! > > > 1,500+ hours of tutorials including VisualStudio > 2012, > > Windows 8, SharePoint > > > 2013, SQL 2012, MVC 4, more. BEST VALUE: New > Multi-Library > > Power Pack includes > > > > > Mobile, Cloud, Java, and UX Design. Lowest price > ever! Ends > > 9/20/13. > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > > > _______________________________________________ > > > Exp-engine-devel mailing list > > > Exp...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/exp-engine-devel > > > > > > > > > > > > > > > > -- > > My Best, > > > > Dave Cooper, Genworks Support > > dav...@ge..., dave.genworks.com(skype) > > USA: 248-327-3253(o), 1-248-330-2979(mobile) > > UK: 0191 645 1699 > > > > > ------------------------------------------------------------------------------ > > LIMITED TIME SALE - Full Year of Microsoft Training For Just > $49.99! > > 1,500+ hours of tutorials including VisualStudio 2012, > Windows 8, SharePoint > > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library > Power Pack includes > > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends > 9/20/13. > > > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > > _______________________________________________ > > Exp-engine-devel mailing list > > Exp...@li... > > > https://lists.sourceforge.net/lists/listinfo/exp-engine-devel > > > > > > > > -- > My Best, > > Dave Cooper, Genworks Support > dav...@ge..., dave.genworks.com(skype) > USA: 248-327-3253(o), 1-248-330-2979(mobile) > UK: 0191 645 1699 > |