Philipp Marek | 28 Sep 2012 08:06
Picon

Patch for line-comments

After a short discussion on #lisp the current behaviour was seen as a bug; a
line-comment should _only_ be terminated by a newline, and not by a terminating
character as well.

Eg. for

  #?rx( ...
        # (a test)
      hello)

the current version would return an error about "hello" being an unknown variable.

Regards,

Phil

$ diff -u read.lisp.orig read.lisp
--- read.lisp.orig      2012-09-28 07:56:57.201746774 +0200
+++ read.lisp   2012-09-28 07:57:32.989790049 +0200
 <at>  <at>  -462,8 +462,7  <at>  <at> 
                                         ;; or *TERM-CHAR*
                                         (read-while
                                          (lambda (char)
-                                           (and (char/= char #\Newline)
-                                                (char/= char *term-char*))))
+                                           (char/= char #\Newline)))
                                         (when (char= (peek-char*) #\Newline)
                                           (read-char*))
                                         (cond ((not (digit-char-p (peek-char*)

(Continue reading)

Anthony Martin | 2 May 2012 03:18
Picon
Favicon

Thank you

Thank you for contacting me. ASM
_______________________________________________
cl-interpol-devel site list
cl-interpol-devel <at> common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-interpol-devel
Evgeniy Zhemchugov | 16 Dec 2009 16:00
Picon

Support for Perl $1 and Makefile-like special variables

Dear cl-interpol developer(s),

I would like to use cl-interpol to parse strings containing Perl
subpattern variables like $1 and Makefile special variables like $<,
$^ etc. I also want statements like #?"$(f 5)" when
*optional-delimiters-p* is t to be expanded into something like

(with-output-to-string (#:string) (princ (f 5) #:string))

rather than

(with-output-to-string (#:string) (princ (progn f 5) #:string))

as they do now. (However, for better compatibility with Makefiles I
need to treat the case of the list made of a single element in a
special way, expanding it to the value of the corresponding variable.)
Overall, I would like to have better control over the read-form
function, maybe the possibility to supply my own one. Could you
install some hook there? I'd gladly do it myself and send you a patch
but I'm not sure which way is the best and whether you will accept
such a change at all. If you advice me some workaround that doesn't
involve modifying cl-interpol it would also be great. I just don't
want to fork or recreate the whole library because of a single
function.

_______________________________________________
cl-interpol-devel site list
cl-interpol-devel <at> common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-interpol-devel

Chaitanya Gupta | 5 Apr 2009 17:38
Gravatar

Can't compile cl-interpol with CMUCL

Hello,

I am unable to compile cl-interpol-0.2.1 on CMUCL 19e (on Linux). Here 
are the last few lines of the REPL buffer:

; home:lisp/build/cmu/libs/site/cl-interpol/cl-interpol-0.2.1/util.x86f 
written.
; Compilation finished in 0:00:00.
; Loading 
#P"/home/chaitanya/lisp/build/cmu/libs/site/cl-interpol/cl-interpol-0.2.1/util.x86f".

; Python version 1.1, VM version Intel x86 on 05 APR 09 08:57:54 pm.
; Compiling: 
/home/chaitanya/lisp/libs/site/cl-interpol/cl-interpol-0.2.1/alias.lisp 
23 JUL 08 08:11:37 pm

; Compiling LOOP FOR:

; home:lisp/build/cmu/libs/site/cl-interpol/cl-interpol-0.2.1/alias.x86f 
written.
; Compilation finished in 0:00:00.
; Loading 
#P"/home/chaitanya/lisp/build/cmu/libs/site/cl-interpol/cl-interpol-0.2.1/alias.x86f".

;;; Error signalled at this point ;;;

Also attached relevant portion of the sldb buffer.

Cheers,
Chaitanya

-- 
http://chaitanyagupta.com/blog/
Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:
   8204 is not of type (UNSIGNED-BYTE 8)
   [Condition of type TYPE-ERROR]

Restarts:
 0: [CONTINUE] Return NIL from load of #P"home:lisp/build/cmu/libs/site/cl-interpol/cl-inter...".
 1: [TRY-RECOMPILING] Recompile alias and try loading it again
 2: [RETRY] Retry performing #<ASDF:LOAD-OP (:FORCE T) {58DD2F6D}> on #<ASDF:CL-SOURCE-FILE "alias" {58FD7985}>.
 3: [ACCEPT] Continue, treating #<ASDF:LOAD-OP (:FORCE T) {58DD2F6D}> on #<ASDF:CL-SOURCE-FILE
"alias" {58FD7985}> as having been successful.
 4: [RETRY] Retry SLIME REPL evaluation request.
 5: [ABORT] Return to SLIME's top level.
 6: [ABORT] Return to Top-Level.

Backtrace:
  0: (CL-UNICODE:CHARACTER-NAMED "ZERO WIDTH NON-JOINER" :WANT-CODE-POINT-P NIL
:TRY-UNICODE1-NAMES-P ...)
      Locals:
        #:G0 = NIL
        #:G1 = NIL
        #:G2 = NIL
        #:G3 = NIL
        #:G4 = NIL
        CL-UNICODE::NAME = "ZERO WIDTH NON-JOINER"
        #:SCRIPTS-TO-TRY-DEFAULTING-TEMP = NIL
        #:TRY-ABBREVIATIONS-P-DEFAULTING-TEMP = NIL
        #:TRY-HEX-NOTATION-P-DEFAULTING-TEMP = NIL
        #:TRY-LISP-NAMES-P-DEFAULTING-TEMP = NIL
        #:TRY-UNICODE1-NAMES-P-DEFAULTING-TEMP = NIL
        #:WANT-CODE-POINT-P-DEFAULTING-TEMP = NIL
  1: ("Top-Level Form")[:TOP-LEVEL]
  2: (LISP::FOP-FUNCALL-FOR-EFFECT)
  3: (LISP::LOAD-GROUP #<Stream for file "/home/chaitanya/lisp/build/cmu/libs/site/cl-interpol/cl-interpol-0.2.1/alias.x86f">)
  4: (LISP::FASLOAD #<Stream for file "/home/chaitanya/lisp/build/cmu/libs/site/cl-interpol/cl-interpol-0.2.1/alias.x86f">)
  5: (LISP::INTERNAL-LOAD
#P"home:lisp/build/cmu/libs/site/cl-interpol/cl-interpol-0.2.1/alias.x86f"
#P"/home/chaitanya/lisp/build/cmu/libs/site/cl-interpol/cl-interpol-0.2.1/alias.x86f"
:ERROR :BINARY)
  6: (LISP::INTERNAL-LOAD
#P"home:lisp/build/cmu/libs/site/cl-interpol/cl-interpol-0.2.1/alias.x86f"
#P"/home/chaitanya/lisp/build/cmu/libs/site/cl-interpol/cl-interpol-0.2.1/alias.x86f"
:ERROR NIL)
  7: (LOAD #P"home:lisp/build/cmu/libs/site/cl-interpol/cl-interpol-0.2.1/alias.x86f" :VERBOSE
NIL :PRINT ...)
  8: ((METHOD ASDF:PERFORM NIL (ASDF:LOAD-OP ASDF:CL-SOURCE-FILE)) (#() . #(#)) #<unused-arg>
#<ASDF:LOAD-OP (:FORCE T) {58DD2F6D}> #<ASDF:CL-SOURCE-FILE "alias" {58FD7985}>)
  9: ("LAMBDA (G1527 G1528)" #<#1=unused-arg> #<#1#> #<ASDF:LOAD-OP (:FORCE T) {58DD2F6D}>
#<ASDF:CL-SOURCE-FILE "alias" {58FD7985}>)
 10: ((PCL:FAST-METHOD ASDF:PERFORM :AROUND (ASDF:LOAD-OP ASDF:CL-SOURCE-FILE)) #<unused-arg> ..)
 11: ((METHOD ASDF:PERFORM (ASDF:AROUND) (ASDF:LOAD-OP ASDF:CL-SOURCE-FILE)) (#(0) . #()) ..)
 12: ((FLET #:G0 ASDF:OPERATE))
 13: (ASDF:OPERATE ASDF:LOAD-OP :CL-INTERPOL :FORCE T)
 14: (ASDF:OPERATE 4 ASDF:LOAD-OP :CL-INTERPOL)[:EXTERNAL]
 15: (SWANK::EVAL-REGION "(asdf:oos 'asdf:load-op :cl-interpol :force t)\n")
 16: ("DEFUN REPL-EVAL")
_______________________________________________
cl-interpol-devel site list
cl-interpol-devel <at> common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-interpol-devel
moses wasajja | 6 Aug 2008 12:17
Picon
Favicon

information

 i have information i no some one who is faking doller`s

Not happy with your email address?
Get the one you really want - millions of new email addresses available now at Yahoo!
_______________________________________________
cl-interpol-devel site list
cl-interpol-devel <at> common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-interpol-devel
Edi Weitz | 25 Jul 2008 14:56
Picon
Favicon

New release 0.2.1

ChangeLog:

  Version 0.2.1
  2008-07-25
  Fixed typo in HTML documentation

Download:

  http://weitz.de/files/cl-interpol.tar.gz
_______________________________________________
cl-interpol-devel site list
cl-interpol-devel <at> common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-interpol-devel

Edi Weitz | 24 Jul 2008 00:53
Picon
Favicon

CL-PPCRE 2.0.0, CL-INTERPOL 0.2.0, CL-UNICODE 0.1.0

This is a joint announcement for two significant updates and one
brand-new library which are all somehow related.  See the changelogs
for all the details.

  http://weitz.de/cl-ppcre/
  http://weitz.de/cl-unicode/
  http://weitz.de/cl-interpol/

Edi.
_______________________________________________
cl-interpol-devel site list
cl-interpol-devel <at> common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-interpol-devel

Edi Weitz | 24 Jul 2008 00:53
Picon
Favicon

CL-PPCRE 2.0.0, CL-INTERPOL 0.2.0, CL-UNICODE 0.1.0

This is a joint announcement for two significant updates and one
brand-new library which are all somehow related.  See the changelogs
for all the details.

  http://weitz.de/cl-ppcre/
  http://weitz.de/cl-unicode/
  http://weitz.de/cl-interpol/

Edi.
_______________________________________________
cl-interpol-devel site list
cl-interpol-devel <at> common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-interpol-devel

Edi Weitz | 22 Feb 2007 19:09
Picon
Favicon

Darcs repositories

[My apologies if you get this more than once.]

Several people have asked for Darcs repositories of my software.
These do exists now:

  http://common-lisp.net/~loliveira/ediware/

Special thanks to Luís Oliveira who made this possible and who
maintains the repositories.

Cheers,
Edi.
_______________________________________________
cl-interpol-devel site list
cl-interpol-devel <at> common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-interpol-devel

Edi Weitz | 29 Jan 2007 18:24
Picon
Favicon

Re: CL-INTERPOL - String interpolation for Common Lisp

Hi Mac,

On Sun, 28 Jan 2007 09:44:24 -0800, "Mac Chan" <emailmac <at> gmail.com> wrote:

> I know this go against the project name CL-INTERPOL, but I have
> always found myself using a quote operator where you can quote
> anything verbatim inside (including escape character backslash)
>
> '\' => \
>
> instead of
>
> '\\' => \
>
> This way I can easily include javascripts, xml and whatnot in my
> program by just copy and pasting.
>
> I'm thinking about adding a character q or s (stand for strict
> quote, no interpolation) to specify this mode.
>
> #?q
>
> or
>
> #?s
>
> It's only couple lines of code and I already have it done.
>
> I was wondering if you mind I submit this as a patch to CL-INTERPOL
> so other people can make use of it and I have one less file to
> include in my projects (I use most of your fine bsd licensed
> libraries).

[Cc to mailing list.]

That's fine with me (I'd suggest "q" and not "s"), but please make
sure your patch adheres to the conditions I've listed at the end of
this email:

  http://common-lisp.net/pipermail/tbnl-devel/2007-January/000940.html

Thanks in advance,
Edi.
_______________________________________________
cl-interpol-devel site list
cl-interpol-devel <at> common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-interpol-devel

Bharat Raval | 14 Nov 2006 15:28
Picon
Favicon

Request for giving right contacts detail for nabbing e criminals

 
Sir,
 
I am Mr. Bharat Raval (50) from India.
 
PL be aware that I receive some mails from cheats to pay some fees and meet them to collect consignment etc.
 
Many persons are made fool and money is lost.
 
I had tried to contact EFCC (economic and financial crime commission)  Nigeria but no rersponse received as mail ID might be wrong or might not be OK for some reason.
 
I have some correspondence going on with e criminals who demand fees/charges etc
 
I want support from the serious and non currupt officers from I`pol as I have very limited trust in local police.And another point is such crimes involve a number of countries.
 
My request is to have
 
1. RIGHT CONTACT FOR PASSING ON INFO
2. PERSONAL MEETING TO FORM STRATEGY TO NABB 419s.
3  TO CREAT AWARENESS AMONG INNOCENTS
4. TO DISCLOSE THEIR HIDEOUTS AND DESTROY IT
5. RECOVER STOLLEN MONEY OR STUFFS.
 
So PL get back to me soon as otherwise few birds will fly off.
 
 
 
With regards,
 
 
Bharat Raval
Ahmedabad, India

Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster.
_______________________________________________
cl-interpol-devel site list
cl-interpol-devel <at> common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-interpol-devel

Gmane