Search
Sunday, 13th of January 2019, 6:51:19 UTC
6:51:37
no-defun-allowed
sbcl and clisp both take it
6:51:46
specbot
http://www.lispworks.com/reference/HyperSpec/Body/m_defun.htm
6:52:23
no-defun-allowed
there's a * next to declaration which means "multiple" so you're good
6:53:40
|3b|
and a single docstring can be mixed with them
6:54:22
|3b|
(before, between, or after)
6:54:57
specbot
Splicing in Modified BNF Syntax: http://www.lispworks.com/reference/HyperSpec/Body/01_daba.htm
6:55:20
|3b|
^ explains the [[ ]] in the modified BNF for the curious
6:56:17
LdBeth
oh shoot. that mean i have to change my parse-body function
6:57:10
|3b|
if you are parsing that sort of thing from CL code, i think alexandria has some functions for that
6:58:59
|3b|
looks like alexandria:parse-body extracts declarations/docstrings
7:02:00
LdBeth
I think I can use UIOP's
7:03:44
|3b|
heh, comment on uiop:parse-body: " ;; from alexandria"
7:04:03
|3b|
so probably work just as well :)
7:04:59
no-defun-allowed
i think the "my CL is busted, it's making LLVM code" is getting boring, but i got ifs done too https://pastebin.com/pmRWaiXQ
7:07:42
beach
What is the LLVM library you are using?
7:08:02
|3b|
can't be any worse than than making dalvik bytecode :p
7:09:50
no-defun-allowed
I don't know any FFI, so it's just emitting the textual representation of IR, beach.
7:10:11
beach
Oh, so it's something you wrote yourself?
7:10:59
no-defun-allowed
The existing cl-llvm library doesn't work without some modification, because it was written for an older LLVM (I think version 3).
7:15:05
LdBeth
finally get defflavor cleaned up
16:00:02
Lord_of_Life_
** NICK Lord_of_Life
Sunday, 13th of January 2019, 18:51:19 UTC