[Prev][Next][Index][Thread]

# Re: Interesting code...

- Date: Sun, 14 Jan 1996 13:13:55 PST
- From:
- Content-Type: TEXT/PLAIN; charset=US-ASCII
- In-Reply-To: <199601142053.PAA04836@vortex.weather.brockport.edu>

    On Sun, 14 Jan 1996, Chuck Adams wrote:

    > > Can anyone come up with some 1.8.0 MOO code that, when given this:
    > >
    > >    "%{a,b%{c,d}e,f,%{g,%{h}},i}"
    > >
    > > Returns this:
    > >
    > > {"a","b%{c,d}e","f","%{g,%{h}}","i"}
    >
    > lst = args[1];
    > lst[1] = "";	/* get rid of leading percent-sign */
    > lst = $string_utils:strip_chars(lst," ");
    > lst = strsub(lst, ",", "\",\"");
    > return $no_one:eval_d(lst);

    I forgot to tell you that the code is not in a LambdaCore, and the words
    in the list CAN contain spaces... :)  The the letters a-i could represent
    anything except `%{', `,' and `}'  Which means they can contain quotes.

    Speaking of letting Pavel work with his server, this *just* happened:

    Jan 14 13:38:25: CHECKPOINTING on M.db.new.#129# finished
    Jan 14 13:40:53: *** PANIC: Caught signal 11
    Jan 14 13:40:53: *** PANIC: Empty expr stack in DECOMPILE!
    Jan 14 13:40:53: *** RECURSIVE PANIC: aborting

    I have no other useful info, except that I was messing with the binary
    connections and manipulating lists (alot).
    Do you want a copy of my DB again Pavel?

    - Kipp

Follow-Ups:

- Getting a stack trace for Pavel (was Re: Interesting code...)

- From: Pavel Curtis <pavel@parc.xerox.com>

- Re: Interesting code...

- From: cadams@weather.brockport.edu (Chuck Adams)

References:

- Re: Interesting code...

- From: cadams@weather.brockport.edu (Chuck Adams)

- Prev: Re: Interesting code...
- Next: Re: Interesting code...
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index