freenode/#lisp - IRC Chatlog
Search
20:44:06
|3b|
remote in my case is only a few feet though, so i'd probably use gui emacs over ssh tunnel if i were working from linux
21:08:45
Krystof
jasom: they're not in the function namespace, but neither are variables. (invoke-restart '<name>) is not that different from (funcall *<name>*)
21:47:51
phoe
I have a remote directory like /project/foo/ that contains my lisp code and I sshfs-mount the directory at the same location locally
21:48:18
phoe
pros are that no tramp is required, everything works automagically and I can open all the files with all the local editors and such as well
21:48:35
phoe
cons are that I'm constrained with regard to where I must place my files on the remote and where I can bind on the local
21:52:23
jasom
phoe: I suppose you could bind-mount /{usr,bin,home,etc} into /remote-hostname/ on the remote and then sshfs mount the remote root to /remote-hostname/ on the local machine
21:54:32
jasom
would have to set SBCL_HOME appropraitely to get M-. to work on internal sources as well
22:57:59
Josh_2
The original python library is apache license 2, obviously I haven't modified or used any of their original code as the code is basically just FFI calls, do I have to use the apache license 2?
23:06:04
hjudt
phoe: sshfs is really slow when having to deal with lots of files, especially with git operations. that's were emacs/tramp shines.
6:33:12
azrazalea2
I've noticed in my sbcl 2.10 from the debian package the *evalhook* global doesn't exist. Is this intended behavior? From what I could tell, *evalhook*/*applyhook* was part of standard but I haven't used it before so might be wrong?
6:36:35
azrazalea2
So I was looking into it because I'm wanting to make a simple bot calculator by accepting lisp forms as a string from a user and then evaluating and returning them. I wanted those hooks so I could validate what types of data they had sent using *evalhook* to check overall types (numbers and symbols only) and *applyhook* to validate the functions
6:36:36
azrazalea2
are in a whitelist. Is the best way to do this going to be to use `read` and then walk the forms myself?
6:40:38
beach
That's one possibility. There are several other options. You could use Eclector to read the form. Then you can control how symbols are created and you can have those symbols interned in the package of your choice.
6:42:39
beach
Or, you can do what I do for SICL bootstrapping. I evaluate the forms relative to a first-class global environments of my choice.
6:47:34
azrazalea2
Well, I might eventually want to get more fancy and allow setting and expansion of local variables but to start with my needs were pretty simple. Just cons based lists with the basic numeric operations (including sqrt, expt, etc etc) as the first element and either another valid list or a numeric value as arguments.
6:48:17
azrazalea2
I can write it myself relatively easily, but I was looking to see if I didn't have ot