freenode/#lisp - IRC Chatlog
Search
16:20:58
flip214
What's the easiest safe way to parse a string to a symbol name? Just READ isn't [or is (SETF *READ-EVAL* NIL) enough?],
16:21:26
flip214
but the split by ":", lookup package, lookup symbol dance is a bit heavy, too (|symbols|, etc.)
16:43:45
jmercouris
then again, I used to be an objective-c developer, so take that with a grain of salt
16:44:50
akater
jmercouris: Nothing prevents you from using define-function. define- macros are often defined.
16:45:15
jmercouris
I try to stick to the standard as much as possible, hence why I'm against efforts such as cl21
16:48:12
akater
By the way, several times I encountered hu.dwim libraries. There's a fairly large repository with lots of custom syntax defined and consistently used. But it looks obscure.
16:52:17
akater
I tried to read one library, and even though it's custom syntax all over the place, it's fairly readable.
16:53:58
akater
An example: http://dwim.hu/darcsweb/darcsweb.cgi?r=HEAD%20hu.dwim.walker;a=headblob;f=/source/function.lisp
16:54:34
jmercouris
I'm glad it works for them, but to be completely frank, I find the source in that file unacceptable
16:58:16
akater
I'd say if indentation or highlight is difficult to adjust, it is a flaw of its implementation in the editor.
17:01:04
jmercouris
akater: I would say its really hard to make an editor for Common Lisp due to the control you have over the language
17:01:25
jmercouris
the user could do all sorts of things to sabotage the effectiveness of the editor :D
17:02:19
akater
If emacs had indentation/highlighting templates along the lines of "indent this form like defclass", there would be no issues with non-standard syntax at all, I believe.
17:03:12
akater
Maybe it has, and I just did not discover it. But when I tried to highlight everything that starts with def the way defun is highlighted, I failed.
17:05:04
akater
Have to admit, I'm never happy when programming Elisp. Would like to jump ship as soon as somewhat decent alternative is there.
17:09:40
ggole
Emacs does have indentation control, see the docstring of common-lisp-indent-function
17:11:35
ggole
I don't think there is a particularly smooth way to automatically set that up when editing some random file of CL code, though
17:13:03
dlowe
It does occur to me that since guile supports elisp and guile supports scheme, that it might be possible to write a CL frontend to guile
17:13:58
jmercouris
why does it need to exist? it really doesn't, could have easily been an implementation of CL
17:14:47
dlowe
It was the official extension language - I imagine a scheme was just easier to sandbox
19:42:58
jackdaniel
if I had to guess, CL is too intimidating to be official "extension" language for GNU
19:44:19
jackdaniel
(and I'm sure many people here will disagree, but taking another guess - these people think CL is superior to most languages what kind of proves the point)
19:47:01
dlowe
rms didn't really like CL all that much and I think that was probably the deciding factor
19:51:52
verisimilitude
He doesn't care for keyword arguments; I can't write that I agree with him there.
19:52:51
verisimilitude
Scheme is decidedly more lightweight and perhaps better suited to writing heavily specialized extensions, compared to CL where the focus is more on writing portable systems, instead.
20:58:56
LdBeth
Well, most GNU language implementation are now inactive, APL, Eiffel, Simula, Ada, Smalltalk
21:21:32
LdBeth
verisimilitude: I guess not using git for development suggests it haven’t been updated for a while.
21:26:50
rpg
Hey, I have a pragmatic question about SLIME usage. Is there some way I can associate SLIME hints (e.g., "this is how you should indent this construct") with an ASDF system? I'm not sure if a CL system can push information at a SLIME client.