Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Competent programmers (was Re: is Lisp used in text parsing and processing tasks?)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 26 - 50 of 63 - Collapse all  -  Translate all to Translated (View all originals) < Older  Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Erik Naggum  
View profile  
 More options Nov 13 2002, 4:44 pm
Newsgroups: comp.lang.lisp
From: Erik Naggum <e...@naggum.no>
Date: 13 Nov 2002 21:44:48 +0000
Local: Wed, Nov 13 2002 4:44 pm
Subject: Re: Competent programmers (was Re: is Lisp used in text parsing and processing tasks?)
* Joe Marshall
| If there were no vet in the nearby area that specialized in the kind of
| pet that I had, then I'd prefer one that felt comfortable with all
| animals in the same family or order to one that felt that cats differed
| so much from dogs as to be incomprehensible.

  And then there are people who do not consider emergencies the proper
  focus of all their planning, philosophies, and ethics.

--
Erik Naggum, Oslo, Norway

Act from reason, and failure makes you rethink and study harder.
Act from faith, and failure makes you blame someone and push harder.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "is Lisp used in text parsing and processing tasks?" by Duane Rettig
Duane Rettig  
View profile  
 More options Nov 13 2002, 8:01 pm
Newsgroups: comp.lang.lisp
From: Duane Rettig <du...@franz.com>
Date: Thu, 14 Nov 2002 01:00:05 GMT
Local: Wed, Nov 13 2002 8:00 pm
Subject: Re: is Lisp used in text parsing and processing tasks?

You'd get exactly zero participants in such a contest...

> Maybe we have a new form of the Turing Test: can a good programmer
> really produce code that would fool a judge into thinking they were
> awful at it? They can't just produce obfuscated-code, wouldn't be
> convincing.

You'd get exactly zero qualified judges for this...

> Try placing three stones on a piece of paper so they appear to be
> randomly located.

Now _this_ can be done...

> :)

:-)

--
Duane Rettig    du...@franz.com    Franz Inc.  http://www.franz.com/
555 12th St., Suite 1450               http://www.555citycenter.com/
Oakland, Ca. 94607        Phone: (510) 452-2000; Fax: (510) 452-0182  


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sv0f  
View profile  
 More options Nov 13 2002, 8:10 pm
Newsgroups: comp.lang.lisp
From: n...@vanderbilt.edu (sv0f)
Date: Wed, 13 Nov 2002 19:03:49 -0600
Local: Wed, Nov 13 2002 8:03 pm
Subject: Re: is Lisp used in text parsing and processing tasks?
In article <m3bs4tkv8o....@quimbies.gnus.org>, Lars Magne Ingebrigtsen

<la...@gnus.org> wrote:
>Well, I found myself writing this a few weeks ago:

>  (min max (max (min min min-max) fee))

>And I feel I deserve some sort of recognition for that one.

It's like morse code mated with beat poetry.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel Barlow  
View profile  
 More options Nov 13 2002, 8:32 pm
Newsgroups: comp.lang.lisp
From: Daniel Barlow <d...@telent.net>
Date: Thu, 14 Nov 2002 00:29:58 +0000
Local: Wed, Nov 13 2002 7:29 pm
Subject: Re: is Lisp used in text parsing and processing tasks?

Erik Naggum <e...@naggum.no> writes:

[ lisp style suggestions deleted ]

>   and pass values back through "global" variables.  Use Hungarian notation
>   and variable names in Polish, but do not declare types.  Avoid hyphen, use
>   underscore /and/ StudlyCaps.  Sprinkle whitespace, including line breaks,
>   after open and before close parens.

It's also important to adopt the kind of naming conventions for
functions and variables that would be familiar to C programmers
brought up in the "externally visible identifiers must be unique in
the first six characters" world.  Eschew vowels, abbreviate wherever
possible, abbreviate some places where not possible, name
side-effecting functions for their return value, value-returning
functions for their side-effect, and functions that do both and have
no clear purpose at all by concatenating a random selection of words
associated with the general concept of the program's application area

Words such as 'do', 'manager', 'process' and 'stuff' are always useful
additions if a name is looking too readable

-dan

--

  http://ww.telent.net/cliki/ - Link farm for free CL-on-Unix resources


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Parker  
View profile  
 More options Nov 13 2002, 9:00 pm
Newsgroups: comp.lang.lisp
From: Michael Parker <michaelpar...@earthlink.net>
Date: Thu, 14 Nov 2002 02:00:05 GMT
Local: Wed, Nov 13 2002 9:00 pm
Subject: Re: is Lisp used in text parsing and processing tasks?
That's gotta be Greenblatt.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christopher C. Stacy  
View profile  
 More options Nov 13 2002, 10:24 pm
Newsgroups: comp.lang.lisp
From: cst...@dtpq.com (Christopher C. Stacy)
Date: Thu, 14 Nov 2002 03:24:27 GMT
Local: Wed, Nov 13 2002 10:24 pm
Subject: Re: is Lisp used in text parsing and processing tasks?
>>>>> On Thu, 14 Nov 2002 02:00:05 GMT, Michael Parker ("Michael") writes:

 Michael> That's gotta be Greenblatt.

???


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Raymond Wiker  
View profile  
 More options Nov 14 2002, 1:51 am
Newsgroups: comp.lang.lisp
From: Raymond Wiker <Raymond.Wi...@fast.no>
Date: 14 Nov 2002 07:51:05 +0100
Local: Thurs, Nov 14 2002 1:51 am
Subject: Re: is Lisp used in text parsing and processing tasks?

Daniel Barlow <d...@telent.net> writes:
> Words such as 'do', 'manager', 'process' and 'stuff' are always useful
> additions if a name is looking too readable

        You forgot "factory".

--
Raymond Wiker                        Mail:  Raymond.Wi...@fast.no
Senior Software Engineer             Web:   http://www.fast.no/
Fast Search & Transfer ASA           Phone: +47 23 01 11 60
P.O. Box 1677 Vika                   Fax:   +47 35 54 87 99
NO-0120 Oslo, NORWAY                 Mob:   +47 48 01 11 60

Try FAST Search: http://alltheweb.com/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Espen Vestre  
View profile  
 More options Nov 14 2002, 3:42 am
Newsgroups: comp.lang.lisp
From: Espen Vestre <espen@*do-not-spam-me*.vestre.net>
Date: 14 Nov 2002 09:42:00 +0100
Subject: Re: is Lisp used in text parsing and processing tasks?

Erik Naggum <e...@naggum.no> writes:
>   underscore /and/ StudlyCaps.  Sprinkle whitespace, including line breaks,
>   after open and before close parens.

and then: Top it off with a few counter-intuitive macros and reader
macros, and you can make it look like a basic programmer's first
encounter with Perl!
--
  (espen)

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Deon Garrett  
View profile  
 More options Nov 14 2002, 5:33 am
Newsgroups: comp.lang.lisp
From: Deon Garrett <garr...@cs.colostate.edu>
Date: Thu, 14 Nov 2002 03:33:38 -0700
Local: Thurs, Nov 14 2002 5:33 am
Subject: Re: is Lisp used in text parsing and processing tasks?

I'm the TA for an intro to AI course, so I think I can add a few items to
Erik's list...if I can drop the assumption that the person knows what he's
doing.

       * Don't put line breaks in....ever.  I graded one assignment containing
         a 393 character line.  I'm not kidding.

       * Pretend that and/or do not exist and write complex branching
         logic using cond nested five levels deep.

       * declare 10 local variables with default values in a let form, then
         spend the next 10 lines assigning values to them with 10 different
         setf's.

       * Use this code to iterate over a list.
         (dotimes (i (length lst))
           (do-something-to (elt lst i)))

       * Don't just mix underscore and StudlyCaps in a program.  Truly awful
         code requires going above and beyond.  It requires mixing StudlyCaps,
         nocaps, and various forms of WEIRDCaps into different references to
         the same symbol.  As in
         (setf MyList (cons something MYLIST))

       * And my current favorite: add 5 numbers with this beauty.
         (+ 1 (+ 2 (+ 3 (+ 4 (+ 5)))))

I could probably add more.  All these examples are from code I've seen since
Monday.  Yes, I am slowly going insane.  Someone please help me...or just
kill me.

- Deon


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nils Goesche  
View profile  
 More options Nov 14 2002, 8:17 am
Newsgroups: comp.lang.lisp
From: Nils Goesche <car...@cartan.de>
Date: 14 Nov 2002 14:15:25 +0100
Local: Thurs, Nov 14 2002 8:15 am
Subject: Re: is Lisp used in text parsing and processing tasks?

Deon Garrett <garr...@cs.colostate.edu> writes:
> I'm the TA for an intro to AI course, so I think I can add a few
> items to Erik's list...if I can drop the assumption that the person
> knows what he's doing.

>        * Don't put line breaks in....ever.  I graded one assignment
>          containing a 393 character line.  I'm not kidding.

Hey, have some faith: Maybe he generated the code and just didn't
bother shoving it through the pretty printer because he was
assuming that you have some AI program doing the grading, anyway, and
would never actually look at it!

Regards,
--
Nils Gösche
"Don't ask for whom the <CTRL-G> tolls."

PGP key ID 0x0655CFA0


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Martti Halminen  
View profile  
 More options Nov 14 2002, 8:28 am
Newsgroups: comp.lang.lisp
From: Martti Halminen <martti.halmi...@kolumbus.fi>
Date: Thu, 14 Nov 2002 15:12:56 +0200
Local: Thurs, Nov 14 2002 8:12 am
Subject: Re: is Lisp used in text parsing and processing tasks?

Deon Garrett wrote:
> > * Michael Hudson
> > | What would _really bad_ Common Lisp look like?
>        * declare 10 local variables with default values in a let form, then
>          spend the next 10 lines assigning values to them with 10 different
>          setf's.

>        * Use this code to iterate over a list.
>          (dotimes (i (length lst))
>            (do-something-to (elt lst i)))

Had a colleague once who specialised in thousand-line functions doing 5
separate things, including several nested loops iterating over several
variables in various directions, and never used recursion. (Those few
times he noticed recursion might be cleaner he had to ask me to write
those pieces...)

--


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Parker  
View profile  
 More options Nov 14 2002, 9:15 am
Newsgroups: comp.lang.lisp
From: mparker...@hotmail.com (Michael Parker)
Date: 14 Nov 2002 06:15:14 -0800
Local: Thurs, Nov 14 2002 9:15 am
Subject: Re: is Lisp used in text parsing and processing tasks?
cst...@dtpq.com (Christopher C. Stacy) wrote in message <news:u1y5o96l0.fsf@dtpq.com>...

> >>>>> On Thu, 14 Nov 2002 02:00:05 GMT, Michael Parker ("Michael") writes:
>  Michael> That's gotta be Greenblatt.

> ???

http://groups.google.com/groups?q=g:thl3617830644d&dq=&hl=en&lr=&ie=U...

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joe Marshall  
View profile  
 More options Nov 14 2002, 9:16 am
Newsgroups: comp.lang.lisp
From: Joe Marshall <j...@ccs.neu.edu>
Date: 14 Nov 2002 09:16:17 -0500
Local: Thurs, Nov 14 2002 9:16 am
Subject: Re: is Lisp used in text parsing and processing tasks?

Michael Parker <michaelpar...@earthlink.net> writes:
> That's gotta be Greenblatt.

Heh heh.  I couldn't find anything with his explicit signature on it,
but I was looking for an example.

My first assignment as a `professional' Lisp hacker was to write a
microcode verifier for the LMI Lambda.  RG handed me half a dozen
files written in such a perspicuous style, pointed me at the Lisp
machine microcode, and said `dive in'.

The doctors say that with therapy I could once again lead a normal and
productive life.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kenny Tilton  
View profile  
 More options Nov 14 2002, 10:28 am
Newsgroups: comp.lang.lisp
From: Kenny Tilton <ktil...@nyc.rr.com>
Date: Thu, 14 Nov 2002 15:27:03 GMT
Local: Thurs, Nov 14 2002 10:27 am
Subject: Re: is Lisp used in text parsing and processing tasks?

They must have been going between PC and Mac, yes? Anyway...

>        * Pretend that and/or do not exist and write complex branching
>          logic using cond nested five levels deep.

OK, youse guys are having a lot of fun with my anti-contest, but you are
losing sight of the premise that everyone involved sincerely likes Lisp
and so would have had enough experience not to (+ 1 (+ 2 3)). Similarly,
for example, there would be no StudlyCaps because even a bad Lisp
programmer would have been hounded into conformity by a mob of
hyphen-zealots.

> I could probably add more.  All these examples are from code I've seen since
> Monday.  Yes, I am slowly going insane.  Someone please help me...or just
> kill me.

We feel your pain. Have them pre-flight their homework here on cll; some
of us like to teach, the others need a way to keep their claws from
growing too long.

:)

--

  kenny tilton
  clinisys, inc
  ---------------------------------------------------------------
""Well, I've wrestled with reality for thirty-five years, Doctor,
   and I'm happy to state I finally won out over it.""
                                                   Elwood P. Dowd


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hannah Schroeter  
View profile  
 More options Nov 14 2002, 11:42 am
Newsgroups: comp.lang.lisp
From: han...@schlund.de (Hannah Schroeter)
Date: 14 Nov 2002 16:38:25 GMT
Local: Thurs, Nov 14 2002 11:38 am
Subject: Re: is Lisp used in text parsing and processing tasks?
Hello!

Raymond Wiker  <Raymond.Wi...@fast.no> wrote:

>Daniel Barlow <d...@telent.net> writes:
>> Words such as 'do', 'manager', 'process' and 'stuff' are always useful
>> additions if a name is looking too readable
>        You forgot "factory".

Perhaps also "thingy" (courtsey IIRC to perl).

Kind regards,

Hannah.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Henrik Motakef  
View profile  
 More options Nov 14 2002, 2:21 pm
Newsgroups: comp.lang.lisp
From: Henrik Motakef <henrik.mota...@web.de>
Date: 14 Nov 2002 20:36:15 +0100
Local: Thurs, Nov 14 2002 2:36 pm
Subject: Re: is Lisp used in text parsing and processing tasks?

Daniel Barlow <d...@telent.net> writes:
> It's also important to adopt the kind of naming conventions for
> functions and variables that would be familiar to C programmers
> brought up in the "externally visible identifiers must be unique in
> the first six characters" world.  Eschew vowels, abbreviate wherever
> possible,  [...]

As opposed to conventions leading to clear names like cddddr, psetf,
ldp, fboundp, or rplacd?

scnr
Henrik


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Erik Naggum  
View profile  
 More options Nov 14 2002, 3:41 pm
Newsgroups: comp.lang.lisp
From: Erik Naggum <e...@naggum.no>
Date: 14 Nov 2002 20:41:25 +0000
Local: Thurs, Nov 14 2002 3:41 pm
Subject: Re: is Lisp used in text parsing and processing tasks?
* Henrik Motakef
| As opposed to conventions leading to clear names like cddddr, psetf,
| ldp, fboundp, or rplacd?

  All crystal clear to me, except for `ldp´.

--
Erik Naggum, Oslo, Norway

Act from reason, and failure makes you rethink and study harder.
Act from faith, and failure makes you blame someone and push harder.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Petter Gustad  
View profile  
 More options Nov 14 2002, 4:00 pm
Newsgroups: comp.lang.lisp
From: Petter Gustad <newsmailco...@gustad.com>
Date: 14 Nov 2002 21:56:51 +0100
Local: Thurs, Nov 14 2002 3:56 pm
Subject: Re: is Lisp used in text parsing and processing tasks?

tuo...@yahoo.com (Tuomas P) writes:
> Is Lisp being used in programs that do text processing of various
> kind, such as parsing and manipulating an HTML file, parsing C code
> (and reindenting it), etc.? Would Lisp be a good to choice if one is
> to write such software?

Yes - since you have functions like read and the reader macros as well
as powerful macros.

Some time ago I was complaining about parser generating tools like
ANTLR lack of CLOS support (it generates code for C/C++ and Java).

Then I took a quick look at Meta. I briefly read the paper by
Baker(1). I thought it looked interesting and asked the author for the
source code so I could study it in more detail. He kindly replied that
all the code was in the paper. It was only a couple dozen lines long!
I would recommend looking at this paper (and don't assume parser
generators to be huge programs like I did)

Meta is simple and elegant. I have just played with it to parse simple
numbers etc, but have anybody used it to write parsers and translators
for a full programming language?

Petter

1) http://home.pipeline.com/~hbaker1/Prag-Parse.ps.Z

--
________________________________________________________________________
Petter Gustad         8'h2B | ~8'h2B        http://www.gustad.com/petter


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Martti Halminen  
View profile  
 More options Nov 14 2002, 4:56 pm
Newsgroups: comp.lang.lisp
From: Martti Halminen <martti.halmi...@kolumbus.fi>
Date: Thu, 14 Nov 2002 23:41:09 +0200
Local: Thurs, Nov 14 2002 4:41 pm
Subject: Re: is Lisp used in text parsing and processing tasks?

Erik Naggum wrote:

> * Henrik Motakef
> | As opposed to conventions leading to clear names like cddddr, psetf,
> | ldp, fboundp, or rplacd?

>   All crystal clear to me, except for `ldp´.

The original poster possibly meant ldb, which I believe was directly
borrowed from PDP-10 assembler.

--


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Erik Naggum  
View profile  
 More options Nov 14 2002, 5:33 pm
Newsgroups: comp.lang.lisp
From: Erik Naggum <e...@naggum.no>
Date: 14 Nov 2002 22:33:26 +0000
Local: Thurs, Nov 14 2002 5:33 pm
Subject: Re: is Lisp used in text parsing and processing tasks?
* Henrik Motakef
| As opposed to conventions leading to clear names like cddddr, psetf,
| ldp, fboundp, or rplacd?

* Erik Naggum
| All crystal clear to me, except for `ldp´.

* Martti Halminen
| The original poster possibly meant ldb, which I believe was directly
| borrowed from PDP-10 assembler.

  Yes, `dpb´ and `ldb´ are PDP-10 instructions, all right.  I wish more
  low-level instructions like this were available to Common Lisp
  programmers.  E.g., byte-swapping instructions and rotates.

  However, you seem to have missed the potential for a humorous bent on
  this.  Complaining about cryptic names is one thing, but getting them
  wrong when you do is inherently funny, at least in my book.

--
Erik Naggum, Oslo, Norway

Act from reason, and failure makes you rethink and study harder.
Act from faith, and failure makes you blame someone and push harder.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steven E. Harris  
View profile  
 More options Nov 14 2002, 6:30 pm
Newsgroups: comp.lang.lisp
From: Steven E. Harris <sehar...@raytheon.com>
Date: Thu, 14 Nov 2002 15:31:51 -0800
Local: Thurs, Nov 14 2002 6:31 pm
Subject: Re: is Lisp used in text parsing and processing tasks?

Daniel Barlow <d...@telent.net> writes:
> Words such as 'do', 'manager', 'process' and 'stuff' are always
> useful additions if a name is looking too readable

You should see some of the code I work with here. If you can think of
a concept, it has a "manager" associated with it. It won't be long
until we birth a ManagerManager.

--
Steven E. Harris        :: sehar...@raytheon.com
Raytheon                :: http://www.raytheon.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Warnock  
View profile  
 More options Nov 15 2002, 12:07 am
Newsgroups: comp.lang.lisp
From: r...@rpw3.org (Rob Warnock)
Date: Thu, 14 Nov 2002 23:07:57 -0600
Local: Fri, Nov 15 2002 12:07 am
Subject: Re: is Lisp used in text parsing and processing tasks?
Petter Gustad  <newsmailco...@gustad.com> wrote:
+---------------
| Meta is simple and elegant. I have just played with it to parse simple
| numbers etc, but have anybody used it to write parsers and translators
| for a full programming language?
+---------------

Way back ~1970 there was a PDP-10 program named "Meta II" that
was a standalone Meta processor. I used it to write a dead stupid
BLISS compiler over a single weekend! Now, granted, my compiler
emitted *dumb* PDP-10 assembler code[1], but it implemented most
of the core language. It didn't hurt that BLISS is roughly LL(1)
[if not LL(0)!], which nicely matches Meta's recursive-descent style.

Meta is cool.

-Rob

[1] The code generator I wrote didn't bother with register management,
    assuming a simple stack VM, so that the code for "A = .A + .B * 3"
    turned into this horrid mess:  (*blush*)

        movei  t0,A     ; get A's address
        push   p,t0     ; save for later
        movei  t0,A     ; get A's address, *again*! (oops)
        move   t0,(t0)  ; get .A (contents of A)
        push   p,t0     ; save for later
        movei  t0,B     ; same song & dance for B
        move   t0,(t0)
        push   p,t0
        movei  t0,3     ; get 3
        pop    p,t1     ; get .B back
        mul    t0,t1    ; .B*3
        pop    p,t1     ; get .A back
        add    t0,t1
        pop    p,t1     ; get A back [note: *address* of A]
        storem t0,(t1)  ; done

    But of course, none of that was Meta's fault.  ;-}  ;-}

-----
Rob Warnock, PP-ASEL-IA         <r...@rpw3.org>
627 26th Avenue                 <URL:http://www.rpw3.org/>
San Mateo, CA 94403             (650)572-2607


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Raymond Wiker  
View profile  
 More options Nov 15 2002, 4:37 am
Newsgroups: comp.lang.lisp
From: Raymond Wiker <Raymond.Wi...@fast.no>
Date: 15 Nov 2002 10:37:10 +0100
Local: Fri, Nov 15 2002 4:37 am
Subject: Re: is Lisp used in text parsing and processing tasks?
Steven E. Harris <sehar...@raytheon.com> writes:

> Daniel Barlow <d...@telent.net> writes:

> > Words such as 'do', 'manager', 'process' and 'stuff' are always
> > useful additions if a name is looking too readable

> You should see some of the code I work with here. If you can think of
> a concept, it has a "manager" associated with it. It won't be long
> until we birth a ManagerManager.

        Or a FactoryFactory, or a FactoryFactorySingleton. Hopefully
not a SingletonFactory, though...

--
Raymond Wiker                        Mail:  Raymond.Wi...@fast.no
Senior Software Engineer             Web:   http://www.fast.no/
Fast Search & Transfer ASA           Phone: +47 23 01 11 60
P.O. Box 1677 Vika                   Fax:   +47 35 54 87 99
NO-0120 Oslo, NORWAY                 Mob:   +47 48 01 11 60

Try FAST Search: http://alltheweb.com/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Larry Hunter  
View profile  
 More options Nov 15 2002, 2:01 pm
Newsgroups: comp.lang.lisp
From: Larry Hunter <Larry.Hun...@uchsc.edu>
Date: 15 Nov 2002 11:43:41 -0700
Local: Fri, Nov 15 2002 1:43 pm
Subject: Re: is Lisp used in text parsing and processing tasks?

  I could probably add more. All these examples are from code I've
  seen since Monday. Yes, I am slowly going insane. Someone please
  help me...or just kill me.

The best idea I have seen for escaping this hell could only be done in
lisp. Chris Riesbeck has written a lisp homework parser that checks
for hundreds of stylistic and semantic errors that he never wants to
see. Some of it only works for particular problems (generally taken
from Graham's CL book exercises), but others are generic. Students
have to get the programs to pass his autochecker before submitting it
for his review. Source code is available...

  http://www.cs.nwu.edu/academics/courses/c25/exercises/critic.html

--

Lawrence Hunter, Ph.D.
Director, Center for Computational Pharmacology
Associate Professor of Pharmacology, PMB & Computer Science

phone  +1 303 315 1094           UCHSC, Campus Box C236    
fax    +1 303 315 1098           School of Medicine rm 2817b  
cell   +1 303 324 0355           4200 E. 9th Ave.                
email: Larry.Hun...@uchsc.edu    Denver, CO 80262      
PGP key on public keyservers     http://compbio.uchsc.edu/hunter  


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marc Spitzer  
View profile  
 More options Nov 15 2002, 2:33 pm
Newsgroups: comp.lang.lisp
From: Marc Spitzer <mspit...@optonline.net>
Date: 15 Nov 2002 14:35:22 -0500
Local: Fri, Nov 15 2002 2:35 pm
Subject: Re: is Lisp used in text parsing and processing tasks?

Larry Hunter <Larry.Hun...@uchsc.edu> writes:
>   I could probably add more. All these examples are from code I've
>   seen since Monday. Yes, I am slowly going insane. Someone please
>   help me...or just kill me.

> The best idea I have seen for escaping this hell could only be done in
> lisp. Chris Riesbeck has written a lisp homework parser that checks
> for hundreds of stylistic and semantic errors that he never wants to
> see. Some of it only works for particular problems (generally taken
> from Graham's CL book exercises), but others are generic. Students
> have to get the programs to pass his autochecker before submitting it
> for his review. Source code is available...

>   http://www.cs.nwu.edu/academics/courses/c25/exercises/critic.html

I just looked at the course and it looks like a remarkably pleasant way
to learn AI and Lisp.

marc


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 26 - 50 of 63 < Older  Newer >
« Back to Discussions « Newer topic     Older topic »