Re: lisp-based netcat standin?



Joe Corneli <holtzermann17@xxxxxxxxx> writes:

I am working with (and a little bit, on), the LISP-based MUD Monster
Mountain (http://code.google.com/p/mmtn/) -- and I would like to be
able to connect to this thing from within LISP instead of from the
shell via netcat. Can anyone suggest a LISP equivalent to nc
localhost 4141 ?

I'm not familiar with what netcat does, so can't answer your question,
though I suspect the answer is that you want to read about the sockets
library for your particular implementation. Lisp does not have a
standard sockets library, but most individual Lisps have something.

- - - -

On the general issue of the MUD, though:

Is the MUD scriptable in Lisp or in some other language? I looked at
the URL and it wasn't clear even on that.

I would think a project to use Lisp data structures and a language
with a MOO-like semantics and security model would be quite cool,
because the MOO kernel itself could be extended in Lisp, but the surface
scripting language could be kept secure.

Incidentally, relating to discussino on another thread here, MOO is a
nice simple dialect that could easily be offered in both infix and
lisp formats, especially since the core stores programs (at least in
the existing MOO worlds I've seen) as structure, not as text, and
regurgitates them for the user each time a request to edit is done.
So syntax is not presupposed and stored comments are not even an
issue. Pavel Curtis, who developed MOO, worked on ANSI Common Lisp's
design, and while the language he designed was not at all Lisp, it's a
truly interesting (if highly domain-specialized) language in its own
right, and shows Lispy ideas in a number of places, as well as others
that are foreign to Lisp but also quite cool. It's definitely worthy
of study in its own right, and probably overlooked as a serious
language merely because its data structures are a bit light and its
domain area is not "professional enough". But its ideas on security,
persistence, user interaction, object system extensibility, etc. are
quite interesting.

.



Relevant Pages

  • Re: ILC2005: McCarthy denounces Common Lisp, "Lisp", XML, and Rahul
    ... >> the language should be available to users. ... In the design of Common Lisp, I asked Dave Moon (one of the architects ... Now, there are good kinds of low-level, like the way that floats are ...
    (comp.lang.lisp)
  • Re: CollabRx seeks brilliant engineers for an excellent e-science adventure
    ... belief that lisp programmers are smarter/better. ... Java or PHP programmers. ... a type of language that attracts a personality that meets my perceptions ...
    (comp.lang.lisp)
  • Re: Whats the best language to learn...
    ... on processors designed to run Lisp and Lisp OSes. ... byte-addressed memory, has native support for variable-sized value types, ... popular OO language, rather a language about like that of Delphi would have ... lisp, java, ruby, etc. ...
    (comp.programming)
  • Re: Program compression
    ... TM> supported by your favorite language (LISP) are good concepts. ... then call the Java compiler to compile that source file to a Class ... TM-STC> Since static type checking makes run-time type checks unnecessary, ...
    (comp.programming)
  • Re: Is anybodys favorite computer programming language not included here?
    ... to talk about getting me some paying work writing Java classes. ... and could be copied to a script (as in Java BeanShell or Lisp PROG). ... >> please post a followup saying what language it is, ... Server: "Mother, ...
    (comp.programming)