Lisp HUG Maillist Archive

Unable to render article 3018 because of ":DEFAULT stream decoding error on #<SB-SYS:FD-STREAM for \"socket 192.168.43.216:64687, peer: 116.202.254.214:119\" {10066DADA3}>: the octet sequence #(233 98 97) cannot be decoded." error

Re: TR: Macro syntax checking in delivered app

 > Nobody knows ???
 >
 > LWW 4.2.7 pro.
 > 
 > Thanks,
 > 
 > Sebastien.
 > 
 > -----Message d'origine-----
 > De : owner-lisp-hug@xanalys.com [mailto:owner-lisp-hug@xanalys.com]De la
 > part de Sébastien Saint-Sevin
 > Envoyé : mercredi 10 novembre 2004 01:04
 > À : ML Xanalys LispWorks
 > Objet : Macro syntax checking in delivered app
 > 
 > 
 > Hi all,
 > 
 > I'm using a few macros that defines a mini-language for my application.
 > One of these macro has the following signature:
 > 
 > 	(defmacro let-tag-after (tag &rest tags) ...
 > 
 > So, when I call it in the Lispworks IDE with wrong arguments as in:
 > 
 > 	(let-tag-after)
 > 
 > I get the error message:
 > 
 > 	Error: syntax error in (LET-TAG-AFTER):
 > 	The call (LET-TAG-AFTER) does not match the definition (LET-TAG-AFTER TAG
 > &REST TAGS).
 > 
 > 
 > This is cool. The trouble now is that when I deliver the application, the
 > syntax checking is no more done, and I can not catch any error message to
 > inform the user its syntax is wrong.
 > 
 > What do I need to do to keep this checking in delivered app?

Look in the Delivery User Guide for the appropriate delivery keyword
to keep the debugger.

For future reference, in most questions about delivery it is helpful
if you show what DELIVER arguments you are currently using.

--
Dave Fox			

Xanalys                 http://www.lispworks.com
Compass House
Vision Park, Chivers Way
Histon
Cambridge, CB4 9AD
England


RE: TR: Macro syntax checking in delivered app

>  > Nobody knows ???
>  >
>  > LWW 4.2.7 pro.
>  > 
>  > Thanks,
>  > 
>  > Sebastien.
>  > 
>  > -----Message d'origine-----
>  > De : owner-lisp-hug@xanalys.com 
> [mailto:owner-lisp-hug@xanalys.com]De la
>  > part de Sébastien Saint-Sevin
>  > Envoyé : mercredi 10 novembre 2004 01:04
>  > À : ML Xanalys LispWorks
>  > Objet : Macro syntax checking in delivered app
>  > 
>  > 
>  > Hi all,
>  > 
>  > I'm using a few macros that defines a mini-language for my application.
>  > One of these macro has the following signature:
>  > 
>  > 	(defmacro let-tag-after (tag &rest tags) ...
>  > 
>  > So, when I call it in the Lispworks IDE with wrong arguments as in:
>  > 
>  > 	(let-tag-after)
>  > 
>  > I get the error message:
>  > 
>  > 	Error: syntax error in (LET-TAG-AFTER):
>  > 	The call (LET-TAG-AFTER) does not match the definition 
> (LET-TAG-AFTER TAG
>  > &REST TAGS).
>  > 
>  > 
>  > This is cool. The trouble now is that when I deliver the 
> application, the
>  > syntax checking is no more done, and I can not catch any error 
> message to
>  > inform the user its syntax is wrong.
>  > 
>  > What do I need to do to keep this checking in delivered app?
> 
> Look in the Delivery User Guide for the appropriate delivery keyword
> to keep the debugger.
> 

I'm delivering at level 0, so the TTY debugger is already available in the delivered app.

> For future reference, in most questions about delivery it is helpful
> if you show what DELIVER arguments you are currently using.
> 

My mistake, here it is:

---deliver.lisp---
(in-package :cl-user)
(load "/dev/lispworks/.lispworks")
(require :sematix)
(require "overwrite") ;used by editor in insert mode
(in-package :sematix)

(lw:deliver 'make-sematix
   (concatenate 'string "/dev/lispworks/sematix/deliver/sematix-" *sematix-version* ".exe")
   0
   :interface :capi
   :console :input
   :keep-clos :no-empty)

(quit)
---eof deliver.lisp---

Thanks, 
Sebastien.


Updated at: 2020-12-10 08:54 UTC