jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language | <http://cliki.net/> <https://irclog.tymoon.eu/freenode/%23lisp> <https://irclog.whitequark.org/lisp> <http://ccl.clozure.com/irc-logs/lisp/> | SBCL 1.5.4, CMUCL 21b, ECL 16.1.3, CCL 1.11.5, ABCL 1.5.0
milanj_ has quit [Quit: Leaving]
LiamH has quit [Quit: Leaving.]
brettgilio has joined #lisp
bendersteed has joined #lisp
oni-on-ion has quit [Ping timeout: 245 seconds]
chasecrum has quit [Remote host closed the connection]
p9fn has quit [Ping timeout: 245 seconds]
p9fn has joined #lisp
oni-on-ion has joined #lisp
superkumasan has quit [Ping timeout: 276 seconds]
gioyik has joined #lisp
rixard has quit [Ping timeout: 265 seconds]
saravia has quit [Ping timeout: 268 seconds]
ravenousmoose has joined #lisp
superkumasan has joined #lisp
ravenousmoose has quit [Ping timeout: 246 seconds]
anewuser has quit [Ping timeout: 276 seconds]
EvW has quit [Ping timeout: 264 seconds]
libertyprime has joined #lisp
clothespin has quit [Ping timeout: 276 seconds]
clothespin has joined #lisp
``Erik_ has quit [Ping timeout: 268 seconds]
``Erik has joined #lisp
oni-on-ion has quit [Remote host closed the connection]
oni-on-ion has joined #lisp
akoana has left #lisp ["Leaving"]
ebrasca` is now known as ebrasca
stepnem has joined #lisp
synaps3 has quit [Ping timeout: 240 seconds]
JohnTalent has joined #lisp
<JohnTalent> the thing about lisp is the lisp source is always floating around.
karswell has quit [Ping timeout: 268 seconds]
bitmapper has quit [Ping timeout: 245 seconds]
semz has quit [Ping timeout: 264 seconds]
semz has joined #lisp
semz has joined #lisp
semz has quit [Changing host]
raghavgururajan has joined #lisp
pillton has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
saravia has joined #lisp
abhixec has joined #lisp
dddddd has quit [Remote host closed the connection]
slyrus_ has joined #lisp
slyrus has quit [Ping timeout: 265 seconds]
patrixl has joined #lisp
SaganMan has quit [Ping timeout: 250 seconds]
xkapastel has joined #lisp
Bike has quit [Quit: Lost terminal]
saravia has quit [Remote host closed the connection]
ebzzry has quit [Read error: Connection reset by peer]
abhixec has quit [Remote host closed the connection]
mathrick has joined #lisp
gioyik has quit [Ping timeout: 240 seconds]
leb has joined #lisp
asarch has joined #lisp
gioyik has joined #lisp
JohnTalent has quit [Quit: Lost terminal]
leb has quit []
krid has quit [Ping timeout: 265 seconds]
leb has joined #lisp
leb has quit [Client Quit]
midautumnmoon has quit [Quit: Connection closed for inactivity]
space_otter has joined #lisp
_leb has joined #lisp
Josh_2 has quit [Remote host closed the connection]
renzhi has quit [Ping timeout: 240 seconds]
_whitelogger has joined #lisp
_leb has quit []
<beach> Good morning everyone!
Bourne has quit [Read error: Connection reset by peer]
gravicappa has joined #lisp
<fiddlerwoaroof> morning, beach
Necktwi has joined #lisp
gioyik has quit [Quit: WeeChat 2.6]
oni-on-ion has quit [Remote host closed the connection]
oni-on-ion has joined #lisp
Necktwi has quit [Read error: Connection reset by peer]
orivej has joined #lisp
vlatkoB has joined #lisp
Necktwi has joined #lisp
jackdaniel has joined #lisp
Josh_2 has joined #lisp
matijja has joined #lisp
sauvin has joined #lisp
dale has quit [Quit: My computer has gone to sleep]
jeosol has joined #lisp
orivej has quit [Ping timeout: 265 seconds]
emaczen has joined #lisp
<emaczen> what is the status of android development in CL?
<emaczen> the cliki.net/ implementation page doesn't seem to have changed in a long time
<beach> Someone here has been using ECL on Android.
<Josh_2> There is Mocl but I don't know if it is still developed
Necktwi has quit [Ping timeout: 246 seconds]
<aeth> I think some people in #lispgames have experimented with ECL
shka_ has joined #lisp
froggey has quit [Ping timeout: 240 seconds]
<beach> emaczen: Go to the logs and search for "android". I think the person doing it is thijso.
froggey has joined #lisp
<oni-on-ion> dto wrote about using ECL for 'droid
orivej has joined #lisp
manualcrank has quit [Quit: WeeChat 1.9.1]
koenig has quit [Remote host closed the connection]
koenig has joined #lisp
orivej has quit [Ping timeout: 268 seconds]
superkumasan has quit [Ping timeout: 268 seconds]
<emaczen> beach: thanks, I see thijso's project
igemnace has joined #lisp
superkumasan has joined #lisp
emaczen has quit [Remote host closed the connection]
asarch has quit [Quit: Leaving]
scymtym has quit [Ping timeout: 240 seconds]
oni-on-ion has quit [Remote host closed the connection]
oni-on-ion has joined #lisp
shka_ has quit [Ping timeout: 265 seconds]
zaquest has joined #lisp
<jackdaniel> ECL works on Android
<jackdaniel> EQL5-Android gives you QT, dto experimented with SDL
<jackdaniel> there is pending work by Paul Ruetz and Marius Gerbershagen on IOS (they've got working builds but there are still issues)
wxie has joined #lisp
X-Scale` has joined #lisp
X-Scale has quit [Ping timeout: 240 seconds]
X-Scale` is now known as X-Scale
Necktwi has joined #lisp
ravenousmoose has joined #lisp
grabarz has joined #lisp
frgo has quit [Remote host closed the connection]
mange has quit [Ping timeout: 276 seconds]
scymtym has joined #lisp
longshi has joined #lisp
jprajzne has joined #lisp
Duuqnd has joined #lisp
orivej has joined #lisp
wxie has quit [Ping timeout: 240 seconds]
frgo has joined #lisp
nostoi has joined #lisp
kajo has quit [Ping timeout: 276 seconds]
wxie has joined #lisp
orivej has quit [Ping timeout: 265 seconds]
jeosol has quit [Quit: Connection closed for inactivity]
frgo has quit [Remote host closed the connection]
Necktwi has quit [Ping timeout: 240 seconds]
francogrex has joined #lisp
<francogrex> i have an example of an object like (set '*fvm* (make-instance 'foil:foreign-vm ...
<francogrex> the content doesn't matter, but inspection shows: The object is a STANDARD-OBJECT of type FOREIGN-VM.
<francogrex> 0. STREAM: #<SB-SYS:FD-STREAM for "socket 127.0.0.1:53251, peer: 127.0.0.1:13579" {1003FC66F3}>
<francogrex> 1. FREF-TABLE: #<HASH-TABLE :TEST EQL :COUNT 0 {1003FCBC43}>
<francogrex> 2. SYMBOL-TABLE: #<HASH-TABLE :TEST EQL :COUNT 0 {1003FCC2D3}>
<francogrex> 3. FREE-LIST: NIL
<francogrex> my question, how can I completely ERASE *fvm* and its contents, like destry this object, not just set the symbol to nil
<pjb> What does it mean to erase a foreign-vm ?
<pjb> (defmethod erase ((self foreign-vm)) …) (erase *fvm*) (setf (erase *fvm*) nil)
<pjb> Note: there may be other references to the foreign-vm. erase should leave a usable instance (able to receive any message a foreign-vm can receive without crashing.)
<pjb> See for example delete-package.
<francogrex> pjb, delete the slots of the object etc... like the hash tables all will be GONE
<pjb> Ok, so: (defmethod erase ((self foreign-vm)) (setf (fref-table self) nil (symbol-table self) nil (free-list self) nil) …)
<pjb> what else?
<pjb> Or, perhaps use slot-makunbound ?
<francogrex> i know it can create instability, I just want to learn how to do it
zmt00 has quit [Read error: Connection reset by peer]
<pjb> Just do it.
<pjb> There's nothing magical to the magic.
zmt00 has joined #lisp
dyske has joined #lisp
<Shinmera> you don't delete objects in Lisp, you just stop using them.
nostoi has quit [Quit: This computer has gone to sleep]
nostoi has joined #lisp
<pjb> Well, in OOP you can define whatever you want. You can define what it means for an object to be in the state "erased", and to provide transitions (methods) to and from this state.
<pjb> OOP is cool, because you can do whatever you want with it.
ravenousmoose has quit [Ping timeout: 246 seconds]
<phoe> francogrex: what do you mean "delete"
<phoe> I'd close the stream and let everything else be garbage-collected
davepdotorg has joined #lisp
<pjb> If there are things that are open, perhaps more than an erase or delete operation, you need a close operation, and a with-open-foreign-vm macro…
<phoe> ^
<pjb> being open or closed are usually important states in the lifecycle of an object…
hhdave has joined #lisp
X-Scale has quit [Ping timeout: 265 seconds]
X-Scale` has joined #lisp
X-Scale` is now known as X-Scale
wxie has quit [Ping timeout: 265 seconds]
chens has joined #lisp
heisig has joined #lisp
Harag has quit [Quit: Harag]
zooey has quit [Remote host closed the connection]
zooey has joined #lisp
chens` has joined #lisp
chens has quit [Read error: Connection reset by peer]
space_otter has quit [Remote host closed the connection]
davepdotorg has quit [Remote host closed the connection]
amerlyq has joined #lisp
<francogrex> pjb: no need to delete. your erase method is ok
<francogrex> but i am having issues with using it
<francogrex> (defmethod erase ((self foil::foreign-vm)) (setf (foil::fref-table self) nil (foil::symbol-table self) nil (foil::free-list self) nil))
<beach> How come you do not trust the garbage collector?
davepdotorg has joined #lisp
<no-defun-allowed> There's quite a few :: in your symbols too.
<francogrex> The function (COMMON-LISP:SETF FOIL::FREF-TABLE) is undefined.
gravicappa has quit [Ping timeout: 265 seconds]
<Duuqnd> francogrex: Use SLOT-VALUE, then.
<francogrex> like (clrhash (slot-value *fvm* 'FOIL::FREF-TABLE)) etc?
Duuqnd_ has joined #lisp
Duuqnd has quit [Disconnected by services]
Duuqnd_ is now known as Duuqnd
frgo has joined #lisp
pbgc has joined #lisp
<phoe> francogrex: you haven't defined accessors for your class, so SETF FREF-TABLE won't work
<phoe> also why do you erase it at all? the instance will be GCed when it is no longer in use
<phoe> no matter what its slot values are
<phoe> the only thing you need to remember is to close the strea
<phoe> m
atgreen_ has joined #lisp
Necktwi has joined #lisp
varjag has joined #lisp
atgreen has quit [Ping timeout: 268 seconds]
kajo has joined #lisp
superkumasan has quit [Ping timeout: 240 seconds]
dddddd has joined #lisp
ljavorsk has joined #lisp
kajo has quit [Ping timeout: 265 seconds]
cosimone has joined #lisp
nostoi has quit [Quit: This computer has gone to sleep]
nostoi has joined #lisp
nostoi has quit [Client Quit]
jonatack has joined #lisp
xkapastel has quit [Quit: Connection closed for inactivity]
chens` has quit [Remote host closed the connection]
wxie has joined #lisp
frgo has quit [Remote host closed the connection]
Duuqnd has quit [Ping timeout: 265 seconds]
dyske has quit [Ping timeout: 245 seconds]
longshi has quit [Quit: WeeChat 2.6]
frgo has joined #lisp
frgo has quit [Ping timeout: 252 seconds]
frgo has joined #lisp
davepdotorg has quit [Ping timeout: 268 seconds]
clothespin has quit [Ping timeout: 276 seconds]
frgo has quit [Ping timeout: 265 seconds]
davepdotorg has joined #lisp
jeosol has joined #lisp
Duuqnd has joined #lisp
ljavorsk has quit [Remote host closed the connection]
ljavorsk has joined #lisp
wxie has quit [Quit: wxie]
ljavorsk has quit [Ping timeout: 250 seconds]
dyske has joined #lisp
cosimone has quit [Quit: Terminated!]
cosimone has joined #lisp
wxie has joined #lisp
pbgc has quit [Quit: Computer has gone to sleep.]
ssake has quit [Ping timeout: 268 seconds]
EvW1 has joined #lisp
davepdotorg has quit [Remote host closed the connection]
davepdotorg has joined #lisp
ssake has joined #lisp
<pjb> francogrex: see, it depends on the design of your class (the set and implementation of the methods working on your instances). If the hash-table is not leaked by your public API, and if your accessor check for NIL, you can just set the slot to NIL (or unbind it if the accessor check for slot-boundp), and let the GC sever the references from the hash-table to the keys and values.
<pjb> francogrex: but if your methods return the hash-table itself, or if you don't test for NIL or unbound, then you will want to empty the hash-table with clrhash, and keep the empty hash-table in the slot.
jfb4_ has joined #lisp
Necktwi has quit [Ping timeout: 265 seconds]
jfb4 has quit [Ping timeout: 265 seconds]
stepnem has quit [Ping timeout: 265 seconds]
superkumasan has joined #lisp
stepnem has joined #lisp
pbgc has joined #lisp
wxie has quit [Ping timeout: 250 seconds]
X-Scale has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Nine out of ten l33t h4x0rz prefer it]
enrio has joined #lisp
davepdotorg has quit [Remote host closed the connection]
dyske has quit [Read error: Connection reset by peer]
dyske has joined #lisp
ljavorsk has joined #lisp
anewuser has joined #lisp
fanta1 has joined #lisp
cosimone has quit [Remote host closed the connection]
bitmapper has joined #lisp
cosimone has joined #lisp
fookara has joined #lisp
jfrancis has quit [Ping timeout: 265 seconds]
ljavorsk has quit [Ping timeout: 264 seconds]
X-Scale has joined #lisp
gareppa has joined #lisp
cosimone has quit [Quit: Terminated!]
stepnem has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
frgo has joined #lisp
stepnem has joined #lisp
ggole has joined #lisp
pbgc has quit [Quit: Computer has gone to sleep.]
davepdotorg has joined #lisp
pbgc has joined #lisp
_jrjsmrtn has joined #lisp
__jrjsmrtn__ has quit [Ping timeout: 276 seconds]
frgo has quit [Read error: Connection reset by peer]
frgo has joined #lisp
lucasb has joined #lisp
dyske has quit [Quit: dyske]
vaporatorius has joined #lisp
xkapastel has joined #lisp
enrioog has joined #lisp
pbgc has quit [Quit: Computer has gone to sleep.]
jonatack has quit [Ping timeout: 240 seconds]
brettgilio has quit [Ping timeout: 245 seconds]
brettgilio has joined #lisp
enrio has quit [Ping timeout: 252 seconds]
atgreen_ has quit [Ping timeout: 240 seconds]
invergo has joined #lisp
invergo has quit [Changing host]
invergo has joined #lisp
zgembo has joined #lisp
zgembo has quit [Client Quit]
cosimone has joined #lisp
Bourne has joined #lisp
Necktwi has joined #lisp
florest has joined #lisp
jeosol has quit [Quit: Connection closed for inactivity]
Bike has joined #lisp
nika_ has joined #lisp
gareppa has quit [Quit: Leaving]
oni-on-ion has quit [Remote host closed the connection]
oni-on-ion has joined #lisp
<francogrex> phoe: sorry for late reply. In this case I cannot rely on lisp deciding to make a random GC, I have to manually manage the objects because of synchrony between java and lisp
Duuqnd_ has joined #lisp
Duuqnd has quit [Disconnected by services]
Duuqnd_ is now known as Duuqnd
<francogrex> pjb: ok for clrhash
<pjb> Depending on why you want to "erase" or close a foreign-vm. hash-table have a lot of overhead. It may be better to free them entirely…
<francogrex> pjb: the overhead is coming actually more from a java hashmap that I will need to clear but clearning the java hashmap and neglecting to clear also the lisp hashtable connected to it was causing asynchrony... it's a project called FOIL, which is good but buggy and I am trying to make it better
<pjb> ok.
<pjb> francogrex: what about using abcl for this?
<pjb> then you wouldn't need to keep both lisp and java objects.
orivej has joined #lisp
<ck_> is abcl still maintained? I had some trouble a while ago.
brettgilio has quit [Ping timeout: 245 seconds]
libertyprime has quit [Quit: leaving]
orivej_ has joined #lisp
orivej has quit [Read error: Connection reset by peer]
Necktwi has quit [Ping timeout: 240 seconds]
<francogrex> pjb: yes abcl is great for that (scheme kawa, jscheme actually workd fine in those), however I am trying as much as possible not to lose my mind by keeping switching from one implementation to another; if I can keep everything in my current sbcl the better.
bitmapper has quit []
<phoe> francogrex: so you have foreign objects of sorts that stay inside a JVM?
<phoe> Are they managed on the Java side or the JVM side?
EvW1 has quit [Ping timeout: 264 seconds]
davepdotorg has quit [Remote host closed the connection]
davepdotorg has joined #lisp
atgreen_ has joined #lisp
bitmapper has joined #lisp
brettgilio has joined #lisp
LiamH has joined #lisp
Duuqnd_ has joined #lisp
Duuqnd has quit [Disconnected by services]
Duuqnd_ is now known as Duuqnd
wxie has joined #lisp
pbgc has joined #lisp
fanta1 has quit [Quit: fanta1]
Josh_2 has quit [Ping timeout: 240 seconds]
<francogrex> phoe: they are not very well managed on either side really, I saw that when I used a jconsole dump, the heap kept growing expeonentially. the drama was more on the JVM side
gravicappa has joined #lisp
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
jonatack has joined #lisp
Duuqnd has quit [Ping timeout: 245 seconds]
wxie has quit [Ping timeout: 250 seconds]
jfrancis has joined #lisp
jprajzne has quit [Quit: Leaving.]
<phoe> wtf
pbgc has quit [Quit: Computer has gone to sleep.]
gioyik has joined #lisp
frgo has quit [Remote host closed the connection]
brettgilio has quit [Ping timeout: 245 seconds]
heisig has quit [Ping timeout: 240 seconds]
brettgilio has joined #lisp
tabaqui1 has quit [Ping timeout: 240 seconds]
madage has quit [Read error: Connection reset by peer]
tabaqui1 has joined #lisp
dale_ has joined #lisp
dale_ is now known as dale
gareppa has joined #lisp
dale has quit [Client Quit]
madage has joined #lisp
ebzzry has joined #lisp
slyrus__ has joined #lisp
frgo has joined #lisp
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
slyrus_ has quit [Ping timeout: 268 seconds]
ljavorsk has joined #lisp
bitmapper has quit []
thijso has quit [Ping timeout: 276 seconds]
matijja has quit [Ping timeout: 240 seconds]
gareppa has quit [Ping timeout: 240 seconds]
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
jmercouris has joined #lisp
smazga has joined #lisp
Necktwi has joined #lisp
nanoz has joined #lisp
thijso has joined #lisp
asarch has joined #lisp
enrioog has quit [Ping timeout: 252 seconds]
gigetoo has quit [Ping timeout: 265 seconds]
pbgc has joined #lisp
ljavorsk has quit [Ping timeout: 265 seconds]
gigetoo has joined #lisp
raghavgururajan has quit [Read error: Connection reset by peer]
varjag has quit [Quit: ERC (IRC client for Emacs 25.2.2)]
slyrus_ has joined #lisp
slyrus__ has quit [Ping timeout: 276 seconds]
anewuser has quit [Quit: anewuser]
Necktwi has quit [Read error: Connection reset by peer]
Necktwi has joined #lisp
<fiddlerwoaroof> francogrex: are you sure the objects are still live?
<fiddlerwoaroof> I think it's still the case that the JVM doesn't like to release memory it allocates, unless you pass the right VM options
dale_ has joined #lisp
dale_ is now known as dale
mulk has joined #lisp
nika_ has quit [Read error: Connection reset by peer]
khisanth_ has quit [Ping timeout: 246 seconds]
nika has joined #lisp
jmercouris has quit [Ping timeout: 276 seconds]
grabarz has quit [Ping timeout: 265 seconds]
grabarz has joined #lisp
gareppa has joined #lisp
<francogrex> fiddlerwoaroof: I am sure they are alive
rgherdt has joined #lisp
<francogrex> a hastable won't just trash itself no matter in which programming language
Necktwi has quit [Ping timeout: 265 seconds]
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
khisanth_ has joined #lisp
rixard has joined #lisp
frgo has quit [Ping timeout: 276 seconds]
francogrex has quit [Remote host closed the connection]
frgo has joined #lisp
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
atgreen_ has quit [Ping timeout: 240 seconds]
jfb4_ has quit [Ping timeout: 276 seconds]
bitmapper has joined #lisp
jfb4 has joined #lisp
<luis> Has anyone implemented something like ACL's excl:re-case on top of CL-PPCRE's register-groups-bind?
erkin has joined #lisp
grabarz has quit [Ping timeout: 240 seconds]
ggole has quit [Quit: Leaving]
grabarz has joined #lisp
slyrus has joined #lisp
slyrus_ has quit [Ping timeout: 246 seconds]
EvW has joined #lisp
gioyik has quit [Ping timeout: 246 seconds]
<Bike> i haven't heard of it, but it seems like it could be done without too much trouble... (re-case string (re1 foo) (re2 bar)) could expand into something like (block #:g0 (register-groups-bind (...) (re1 ...) (return-from #:g0 foo)) (register-groups-bind (...) (re2 ...) (return-from #:g0 bar)) nil)?
<Bike> at least for the basic cases
grabarz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tsandstr has joined #lisp
gioyik has joined #lisp
xkapastel has quit [Quit: Connection closed for inactivity]
<erkin> Does anyone know what happened to ISLISP? It seems to have completely stalled before reaching any considerable momentum.
rgherdt has quit [Ping timeout: 252 seconds]
<erkin> Now there're two extant implementations (both one-person projects) that appear to be barely used.
tsandstr has quit [Client Quit]
<erkin> I feel like it could've fit in a niche between CL and Scheme, but it somehow failed somewhere along the lines.
<dlowe> this would be a better question for ##lisp
<beach> Since ISLISP is not Common Lisp, it is off-topic, but maybe it was ISLISP that jackdaniel was planning to use for bootstrapping ECL?
shka_ has joined #lisp
<erkin> Ah, I thought I was in ##lisp, my mistake.
synaps3 has joined #lisp
synaps3 has quit [Changing host]
synaps3 has joined #lisp
davepdotorg has quit [Remote host closed the connection]
frgo has quit [Remote host closed the connection]
<shka_> good evening!
frgo has joined #lisp
davepdotorg has joined #lisp
slyrus_ has joined #lisp
davepdotorg has quit [Remote host closed the connection]
<florest> good evening :)
florest has quit [Quit: Leaving]
slyrus has quit [Ping timeout: 240 seconds]
pbgc has quit [Read error: No route to host]
frgo has quit [Ping timeout: 276 seconds]
Josh_2 has joined #lisp
slyrus__ has joined #lisp
<LdBeth> erkin: it’s just happened that ISLISP has no good free/open source implementation.
<LdBeth> erkin: it is essentially a cut down version of CL, so don’t expect too much from it.
slyrus_ has quit [Read error: Connection reset by peer]
<erkin> I see. Such a shame though, I feel like there could be a suitable niche for a minimal CL-like language.
<jackdaniel> beach: no, my idea was to add eulisp as another supported language to ecl
<LdBeth> erkin: I think eulisp could be such a candidate
brettgilio has quit [Ping timeout: 245 seconds]
<erkin> It seems developer of OpenLisp is also maintaining a LeLisp implementation.
<erkin> Last updated 2016
brettgilio has joined #lisp
<erkin> LdBeth: I didn't know EuLisp was alive!
<beach> jackdaniel: Ah, OK, now I remember.
invergo has quit [Ping timeout: 252 seconds]
<jackdaniel> ECoLisp (known now as ECL) originally hosted a few languages and was specified in terms of CLR (common language runtime) which ABI was based on C's ABI (i.e it had prolog implementation)
<shka_> wow
cosimone has quit [Quit: Terminated!]
<jackdaniel> but I did nothing to pursue this goal, there are more pressing improvements for ECL worth implementing
<LdBeth> I guess POPLOG is no longer maintained
<erkin> It seems to have been last updated this July: http://www.cs.bham.ac.uk/research/projects/poplog/freepoplog.html
hhdave has quit [Quit: hhdave]
<erkin> But poplog.org got domainsquatted. Still available on Wayback Machine (going back to 1999) though.
gareppa has quit [Quit: Leaving]
rgherdt has joined #lisp
orivej_ has quit [Ping timeout: 268 seconds]
nowhereman has quit [Ping timeout: 276 seconds]
grabarz has joined #lisp
grabarz has quit [Client Quit]
rgherdt has quit [Remote host closed the connection]
<shka_> i made that typo?
<jackdaniel> now, I've called it that because it is not a spreadsheet, just a poor man's hack
<jackdaniel> s/now/no/
rgherdt has joined #lisp
<shka_> good, i had a panic attack
<shka_> i am actually replying to your comment
<shka_> this poor man's hack is more then I was able to do myself so this helps a lot
<shka_> and it fact i will probably use it for displaying data at work
nika has quit []
<jackdaniel> see "slim" library - while it has somewhat instable api, it has a less verbose table creation api
<jackdaniel> s/instable/unstable/
<jackdaniel> it is a syntactic sugar playground for now, I hope it will grow into something more
<shka_> i would rather try to avoid extra libs for the time being, I would like to learn pure CLIM first
lucasb has quit [Quit: Connection closed for inactivity]
<shka_> also, this code is about the same size as printing table to repl
<shka_> which is nice!
synaps3 has quit [Quit: Leaving]
rgherdt has quit [Remote host closed the connection]
rgherdt has joined #lisp
warweasle has joined #lisp
raghavgururajan has joined #lisp
rgherdt has quit [Remote host closed the connection]
rgherdt has joined #lisp
kajo has joined #lisp
<luis> Bike: yeah, that looks like a decent implementation strategy. Any suggestions on how to augment register-groups-bind syntax for binding the whole match? (register-groups-bind (&whole match x y) ("f([a-z])([a-z])" "foo") (list match x y)) => ("foo" "o" "o") maybe?
raghavgururajan has quit [Read error: Connection reset by peer]
<Bike> wrap the whole regex to make it a named group?
<Bike> does re-case do that, though?
clothespin has joined #lisp
atgreen_ has joined #lisp
brettgilio has quit [Ping timeout: 245 seconds]
rgherdt has quit [Remote host closed the connection]
gareppa has joined #lisp
rgherdt has joined #lisp
dyske has joined #lisp
brettgilio has joined #lisp
<luis> Bike: yes, I think so. You have to specify by number which named group you're binding too and group 0 is the whole match.
matijja has joined #lisp
<luis> Bike: adding the extra group works nicely, yeah. Thanks for the tip. I briefly considered that option but discarded it prematurely because I have vague memories of having trouble with nested groups in the past. ;-)
<Bike> ahhh yes i see, missed that in the documentation
brettgilio has quit [Ping timeout: 246 seconds]
Roargh has joined #lisp
brettgilio has joined #lisp
atgreen_ has quit [Ping timeout: 240 seconds]
Roargh has left #lisp ["ERC (IRC client for Emacs 26.1)"]
purelazy has joined #lisp
<purelazy> Is there a LISP (on Linux) which can print functions?
<purelazy> It would be for educational purposes
dyske has quit [Ping timeout: 240 seconds]
asarch has quit [Remote host closed the connection]
erkin has left #lisp ["あんたなんて、英吉利牛と一緒に冷凍保存してやるわ!!"]
<fiddlerwoaroof> purelazy: this is probably a ##lisp question
dyske has joined #lisp
<dlowe> purelazy: what would a printed function look like?
<fiddlerwoaroof> But, some common lisp implementations store the source of a function and it can be accessed with FUNCTION-LAMBDA-EXPRESSION sometimes
gareppa has quit [Quit: Leaving]
EvW has quit [Ping timeout: 245 seconds]
<luis> Bike: I'm not terribly excited about the syntax I came up with: https://gitlab.common-lisp.net/snippets/117 :-/
<pjb> I would put the regexp first in the clauses, and why the parentheses?
<pjb> (register-groups-case string ("b(a)r" (a) (list a)) ("f(.)(.)" (o1 o2) (list o1 o2)))
<Bike> options to the scanner
<Bike> but, i don't see why you can't mimic re-case's syntax exactly
<pjb> options are optional.
<luis> pjb: I'm trying to be coherent with register-groups-bind's syntax
<pjb> ok.
<luis> pjb: they are optional, but the regex is not necessarily constant
<luis> pjb: so a non-constant regex would be ambiguous with options
<Bike> you're allowing non constant regexes?
<pjb> So it's more like progv than case.
rippa has joined #lisp
grabarz has joined #lisp
<dlowe> if you stuck to constant regexes you could take advantage of cl-ppcre's being compiled
<luis> It's allowing non constant regexes but not non-constant bindings
<luis> dlowe: non constant regexes should be prepared with ppcre:create-scanner, I suppose.
<Bike> register-groups-bind does that automatically, i'm almost sure
grabarz has quit [Client Quit]
<Bike> it will expand into a call to scan, and cl-ppcre's compiler macro on scan will take care of it
<luis> Bike: yes, scan does that for constant regexes.
<Bike> at load time rather than compile time, i guess, but that usually won't matter
<luis> I suppose register-groups-case could not take options. That would simplify the syntax a lot. Until you need to use an option and then you're screwed :)
<dlowe> so there's always the option of specifying the options within the regex
clothespin has quit [Ping timeout: 240 seconds]
<Bike> well here's my hot take on the syntax, i'd put the regex first
<luis> Hmm. Maybe the syntax for options could be (register-groups-case string ("b(a)r" (a) (list a)) ((:regex "f(.)(.)" :more-options t) (o1 o2) (list o1 o2)))?
<Bike> i guess that way it doesn't match register-groups-bind, but it's more like how a case construct works
<Bike> or looks. looks
gioyik has quit [Ping timeout: 276 seconds]
<dlowe> I mean you can just do "(?i)f" for case-insensitive, "(?m)" for multiline, etc
<luis> Or even better. Only allow options for constant strings. Yeah, that should work. (register-groups-case string ("b(a)r" (a) (list a)) (("f(.)(.)" :more-options t) (o1 o2) (list o1 o2)))
<dlowe> you don't need to support options external to the regex :p
<Bike> so looking at it, the options that register-groups-binds actually aceepts are start, and, and sharedp
<Bike> and the first two are actually for the target string, not the regex per se
<Bike> having different ones in a case might e a little weird
<Bike> be a little
<Bike> "start, end, and" sticky fingers today
ngqrl has joined #lisp
flazh has quit [Ping timeout: 250 seconds]
<luis> Bike: D'oh. Good point.
flazh has joined #lisp
<luis> dlowe: sort of. I kind of wish ppcre:scan took the same arguments as ppcre:create-scanner. It's a bit annoying that it doesn't. Am I missing something?
EvW has joined #lisp
<flip214> luis: well, you could wrap the required flags (case insensitive etc.) around the (ppcre:parse-string) representation before passing that on to SCAN.
orivej has joined #lisp
<Bike> luis: i mean, you pass the result of create-scanner to scan, no? having the arguments in scan too would be a bit redundant
<Bike> (scan string ...) is just a convenience shortcut for (scan (create-scanner string) ...)
flazh has quit [Ping timeout: 264 seconds]
<luis> Bike: I suppose so. I'm used to excl:match-re which does that.
<Bike> so it does. i guess edi decided not to go with that
<Bike> passing a compiled regex and also those parameters is awkward
<luis> That's a good point.
fookara has quit [Remote host closed the connection]
<luis> flip214: do you mean I could use "(?i)" and things like that?
<dlowe> that's what I saaaaaaaid
<luis> dlowe: got it now. :-)
oni-on-ion has quit [Remote host closed the connection]
oni-on-ion has joined #lisp
<luis> dlowe: ah, you actually said that explicitly. I missed it, sorry. Switching around between laptop and smartphone. :-)
<Bike> cl-ppcre is based on the regexp2 module, if i'm not mistaken
sauvin has quit [Ping timeout: 268 seconds]
<Bike> i personally have never used the for profit implementations so that's about the extent of my understanding. good thing they have manuals online
<luis> Bike: I've noticed that you can compile cl-ppcre such that it delegates all the actual work to regexp2
<dlowe> luis: :
<dlowe> luis: :)
<luis> Bike: CL-PPCRE's documentation suggests that it's regexp2 that's based on cl-ppcre, actually.
jack_rabbit has joined #lisp
<Bike> hmm. you're right
<Bike> "The details are: Calls to CREATE-SCANNER and SCAN are dispatched to their AllegroCL counterparts EXCL:COMPILE-RE and EXCL:MATCH-RE while everything else is left as is." how straightforward
flazh has joined #lisp
atgreen_ has joined #lisp
sjl_ has joined #lisp
frgo has joined #lisp
bitmapper has quit [Remote host closed the connection]
vlatkoB has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
superkumasan has quit [Ping timeout: 252 seconds]
cosimone has joined #lisp
dented42 has joined #lisp
gioyik has joined #lisp
purelazy has quit [Remote host closed the connection]
clothespin has joined #lisp
oni-on-ion has quit [Remote host closed the connection]
jackdaniel has quit [Quit: jackdaniel]
oni-on-ion has joined #lisp
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
hiroaki has joined #lisp
jack_rabbit has quit [Ping timeout: 250 seconds]
Bourne has quit [Ping timeout: 252 seconds]
atgreen_ has quit [Ping timeout: 240 seconds]
shka_ has quit [Ping timeout: 240 seconds]
akoana has joined #lisp
clothespin has quit [Ping timeout: 250 seconds]
Bourne has joined #lisp
<Josh_2> Are there any other discord api libraries like lispcord?
<Josh_2> Lispcord seems to be broken
<dlowe> could you fix it?
<dlowe> and perhaps contribute your fix upstream?
<dlowe> more to the point, do you think fixing it would be easier than rewriting all your stuff to use something else
<Josh_2> Well I don't have a bot
<Josh_2> I want to write one
dented42 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Josh_2> That doesn't appear to work either ¯\_(ツ)_/¯
<Josh_2> I suppose I will try to fix lispcord
izh_ has joined #lisp
superkumasan has joined #lisp
synaps3 has joined #lisp
dented42 has joined #lisp
Bike has quit [Remote host closed the connection]
scymtym has quit [Ping timeout: 264 seconds]
Bike has joined #lisp
<shinohai> Oh well, been a while since I've done any discord stuffs.
nanoz has quit [Ping timeout: 265 seconds]
gravicappa has quit [Ping timeout: 265 seconds]
fyrkrans has joined #lisp
lavaflow has quit [Ping timeout: 268 seconds]
jackdaniel has joined #lisp
ravenousmoose has joined #lisp
ravenousmoose has quit [Ping timeout: 276 seconds]
manualcrank has joined #lisp
jfb4 has quit [Ping timeout: 240 seconds]
synaps3 has quit [Ping timeout: 240 seconds]
lavaflow has joined #lisp
mange has joined #lisp
jfb4 has joined #lisp
dented42 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nullniverse has joined #lisp
nullniverse has quit [Changing host]
nullniverse has joined #lisp
grabarz has joined #lisp
cosimone has quit [Quit: Quit.]
dyske has quit [Quit: leaving]
bitmapper has joined #lisp
jackdaniel has quit [Quit: jackdaniel]
Necktwi has joined #lisp
Bike has quit [Quit: Bike]
izh_ has quit [Quit: Leaving]
LiamH has quit [Quit: Leaving.]
brettgilio has quit [Ping timeout: 245 seconds]
brettgilio has joined #lisp
shifty has joined #lisp
synaps3 has joined #lisp
Bike has joined #lisp
sjl_ has quit [Ping timeout: 268 seconds]
rgherdt has quit [Ping timeout: 252 seconds]
lxbarbosa has joined #lisp
atgreen_ has joined #lisp
dilated_dinosaur has quit [Remote host closed the connection]
wxie has joined #lisp
Necktwi has quit [Ping timeout: 268 seconds]
dilated_dinosaur has joined #lisp
wxie has quit [Ping timeout: 240 seconds]
grabarz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
grabarz has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
superkumasan has quit [Ping timeout: 240 seconds]
grabarz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
scymtym has joined #lisp
ravenousmoose has joined #lisp
ravenousmoose has quit [Ping timeout: 276 seconds]