Search
Saturday, 14th of July 2018, 22:14:23 UTC
23:21:47
ebrasca
How I can extend functionality of read-byte in standard CL?
23:30:54
Bike
with the gray streams extension, you can define methods on the stream-read-byte function.
23:33:10
ebrasca
Is it truly necessary to have portable code?
23:34:02
caltelt
if you want it to be portable, yes?
23:44:24
jmercouris
interop between lisp and prolog?
23:46:17
ebrasca
Now I am thinking more in mezzano and other common lisp (sbcl).
0:27:51
edgar-rft
ebrasca, what's your specific problem with cl:read-byte? (just curious)
0:33:22
ebrasca
edgar-rft: Thinking how to make my FAT32 work wich other CLs.
0:33:59
ebrasca
edgar-rft: I need some method to add FAT32 read-byte.
0:34:04
edgar-rft
in other words: you need to read 32-bit bytes?
0:34:29
ebrasca
I need to make my custom read-byte.
0:34:42
Bike
i thought read-byte already did that.
0:34:50
ebrasca
In mezzano there is generic read-byte and then it specializes.
0:35:19
Bike
because that's exactly what gray streams provides, and most implementations support the extension.
0:36:39
ebrasca
Mezzano have someting called sys.gray .
0:38:31
ebrasca
I think it uses flexi-streams and trivial-gray-streams stream libraries.
0:46:33
Bike
trivial-gray-streams is just a portability wrapper over the gray streams extension.
1:14:29
ebrasca
Is metamorphosis = complexity ?
1:15:11
Bike
is "metamorphosis" the name of a library or are you referring to butterfly development or what
1:15:37
ebrasca
I am thinking about change of forms.
1:17:48
ebrasca
How butterfly development apply to programing?
1:19:01
ebrasca
I think they can chenge they form to some point.
1:19:29
ebrasca
And CL can change form like one butterfly.
1:20:08
ebrasca
But butterfly in his transformation lose some mass.
1:20:23
ebrasca
Is there someting like this in CL?
1:27:58
edgar-rft
one can perfectly morph in 1 dimension, so methamorphosis must not necessarily be complex
2:00:25
caltelt
Is there anything similar to clojure's edn for cl? A way to read in a safe subset of the language that can be used for data transfer, conf files, etc?
2:04:41
edgar-rft
there's read-line returning one line as a string plus a parser for safe tokens, to be written by *you*
2:07:36
caltelt
so...glorious json it is then...
2:27:31
HighMemoryDaemon
Why isn't this returning true?
2:27:36
HighMemoryDaemon
(setf emp1 '(:gender 'male))
2:27:36
HighMemoryDaemon
(eq (getf emp1 :gender) 'male)
2:30:53
HighMemoryDaemon
solved it. It's because I declared the entire list as a symbol
2:34:19
Bike
that doesn't mean anything. it's not returning true because (getf emp1 :gender) will be the list (QUOTE MALE).
3:10:59
beach
Good morning everyone!
5:58:36
slyrus_
edgar, caltelt what about something like https://github.com/phoe/safe-read ?
8:12:35
_death
trivial-gray-streams should also export CLOSE since it's part of the Gray proposal
Sunday, 15th of July 2018, 10:14:23 UTC