Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - borgauf

I'm a total beginner, but for a long time I've felt that a Lisp of some sort should be King. But then there's all this talk about javascript this, node.js that. Isn't newLisp capable of doing what node.js does, only better?
newLISP and the O.S. / REPL working directory?
May 10, 2013, 06:29:29 PM
When in Emacs, if I start newlisp mode, then call up a NL REPL, how can I find out what the REPL's "working directory" is? For example,

(load "link.lsp")

gives an error, but if I copy link.lsp to a ./newlisp directory, and give the full path:

(load "/home/myhome/Programs/newlisp/link.lsp")

it works. Will I always have to tell it the entire path?
I'm a total beginner, but I've read extensively about Lisp, functional programming, and distributed computing. I keep hearing that Lisp languages can rewrite/update their own code while running, but I can't wrap my brain around that. For example, the famous "Lisp at JPL" essay talked about redoing/refactoring running code that was out in space. So, here's a problem: Imagine two separate programs running on two separate computers are doing a collaborative "game of life" where algorithms change and morph because each program is helping the other. This would be a sort of distributed, synergetic evolution, but the changes to data and code would be swapped back and forth real-time and incorporated real-time. This is the sort of stuff I'm interested in, and just from reading about newLisp, it seems possible with newLisp. Is this true? . . . Or do I need to wake up, get real, and go back to Visual Basic programming?