jackdaniel changed the topic of #commonlisp to: Common Lisp, the #1=(programmable . #1#) programming language | Wiki: <https://www.cliki.net> | IRC Logs: <https://irclog.tymoon.eu/libera/%23commonlisp> | Cookbook: <https://lispcookbook.github.io/cl-cookbook> | Pastebin: <https://plaster.tymoon.eu/>
alemmens has joined #commonlisp
shka has quit [Ping timeout: 256 seconds]
seletz has joined #commonlisp
alemmens has quit [Ping timeout: 252 seconds]
seletz has quit [Ping timeout: 256 seconds]
rgherdt has quit [Remote host closed the connection]
pve has quit [Quit: leaving]
alemmens has joined #commonlisp
alemmens has quit [Ping timeout: 264 seconds]
waleee has quit [Ping timeout: 260 seconds]
masinter has quit [Remote host closed the connection]
son0p has joined #commonlisp
alemmens has joined #commonlisp
Josh_2 has quit [Remote host closed the connection]
alemmens has quit [Ping timeout: 252 seconds]
akoana has joined #commonlisp
lisp123 has joined #commonlisp
lisp123 has quit [Remote host closed the connection]
holycow has quit [Remote host closed the connection]
alemmens has joined #commonlisp
verisimilitude has joined #commonlisp
alemmens has quit [Ping timeout: 265 seconds]
marsia has joined #commonlisp
verisimilitude has left #commonlisp [ERC (IRC client for Emacs 27.2)]
Fare has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
alemmens has joined #commonlisp
Fare has quit [Ping timeout: 252 seconds]
alemmens has quit [Ping timeout: 264 seconds]
alemmens has joined #commonlisp
seletz has joined #commonlisp
occ has quit [Ping timeout: 256 seconds]
occ has joined #commonlisp
seletz has quit [Ping timeout: 260 seconds]
alemmens has quit [Ping timeout: 265 seconds]
Fare has joined #commonlisp
wonko-the-sane has joined #commonlisp
hrberg has quit [Ping timeout: 255 seconds]
lisp123 has joined #commonlisp
azimut has quit [Ping timeout: 255 seconds]
lisp123 has quit [Ping timeout: 268 seconds]
alemmens has joined #commonlisp
Fare has quit [Ping timeout: 260 seconds]
alemmens has quit [Ping timeout: 265 seconds]
seletz has joined #commonlisp
mrcom has quit [Read error: Connection reset by peer]
mrcom has joined #commonlisp
seletz has quit [Ping timeout: 272 seconds]
alemmens has joined #commonlisp
alemmens has quit [Ping timeout: 252 seconds]
aartaka has joined #commonlisp
qhong has quit [Remote host closed the connection]
wonko-the-sane has quit [Quit: leaving]
qhong has joined #commonlisp
alemmens has joined #commonlisp
rgherdt has joined #commonlisp
aartaka has quit [Ping timeout: 272 seconds]
aartaka has joined #commonlisp
akoana has quit [Quit: leaving]
alemmens has quit [Ping timeout: 265 seconds]
chrcav has quit [Ping timeout: 248 seconds]
chrcav has joined #commonlisp
Jokes77 has joined #commonlisp
lisp123 has joined #commonlisp
<lisp123> Shinmera: do you still need reviews to get to 50?
<Shinmera> yes
<Shinmera> you can see the number at the top of the steam page.
<lisp123> website sems to say 53
alemmens has joined #commonlisp
<Shinmera> only the number at the top of the page, which says 29, counts.
<Shinmera> the rest are reviews from people that got the game via keys, which don't count, I'm afraid.
<lisp123> Looks like you have to launch the game in steam to leave a review
<Shinmera> you need to have some gameplay time, ye
<lisp123> If anybody in this chat is interested in playing via steam, DM me and I'll help organise a copy
<lisp123> (on the condition a review is left)
Demosthenex has quit [Ping timeout: 252 seconds]
<beach> Shinmera: How much do you charge?
<Shinmera> the game costs $20 though there is a 10% discount until Wednesday.
<beach> I see.
Demosthenex has joined #commonlisp
alemmens has quit [Ping timeout: 264 seconds]
<beach> So if you have 29 reviews, that means you have sold at least that many?
seletz has joined #commonlisp
aartaka has quit [Ping timeout: 252 seconds]
<Shinmera> The common guesstimate for sales is 50x number of reviews. In this case that's an overestimate though, I've sold 646 copies so far.
<beach> Oh, not bad!
<beach> Congratulations!
<Shinmera> I don't know if it's not bad or what. All I know it's not even close to anything like recouping investments.
<beach> Right.
<beach> But it hasn't been available for very long.
<lisp123> Its such a tough industry, you really need for it to go viral.
<Shinmera> As is it's not even enough to pay for the marketing investments
alemmens has joined #commonlisp
seletz has quit [Ping timeout: 272 seconds]
Jokes77 has quit [Quit: Leaving]
alemmens has quit [Ping timeout: 256 seconds]
rgherdt has quit [Remote host closed the connection]
aartaka has joined #commonlisp
kenran has joined #commonlisp
kenran has quit [Remote host closed the connection]
samebchase has quit [Remote host closed the connection]
_cymew_ has joined #commonlisp
shka has joined #commonlisp
dtman34 has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
pve has joined #commonlisp
dtman34 has joined #commonlisp
alemmens has joined #commonlisp
leo_song has quit [Read error: Connection reset by peer]
leo_song has joined #commonlisp
<jackdaniel> so if someone got it as a kickstarter reward the review won't count?
aartaka has quit [Ping timeout: 272 seconds]
aartaka has joined #commonlisp
<Shinmera> correct, I'm afraid.
<Shinmera> People can still see the review, but it doesn't influence the review count at the top of the page
lisp123 has quit [Remote host closed the connection]
<Shinmera> Getting to 50 "confirmed" positive reviews would up our rating from "Positive" to "Very Positive", which would be fantastic
<Shinmera> (iirc the next tier would be 500 reviews, which is "overwhelmingly positive")
<ecraven> how do I create a "confirmed" positive review? I've bought it, and didn't back it
alemmens has quit [Ping timeout: 264 seconds]
<Shinmera> then just write a review.
<Shinmera> you need to buy the game on steam to write a confirmed review.
<Shinmera> It used to work for keys, but then as usual some folks figured they can just buy positive reviews by handing out free keys.
<Shinmera> so yeah.
lisp123 has joined #commonlisp
lisp123 has quit [Ping timeout: 260 seconds]
beach` has joined #commonlisp
beach has quit [Killed (NickServ (GHOST command used by beach`!~user@2a01:cb19:150:3400:ad8b:cdfd:6635:b240))]
beach` is now known as beach
alemmens has joined #commonlisp
lisp123 has joined #commonlisp
son0p has quit [Remote host closed the connection]
lisp123 has quit [Remote host closed the connection]
_cymew_ has quit [Ping timeout: 264 seconds]
lisp123 has joined #commonlisp
lisp123 has quit [Ping timeout: 272 seconds]
random-nick has joined #commonlisp
_cymew_ has joined #commonlisp
aartaka has quit [Ping timeout: 252 seconds]
aartaka has joined #commonlisp
_cymew_ has quit [Ping timeout: 264 seconds]
lisp123 has joined #commonlisp
son0p has joined #commonlisp
frgo has joined #commonlisp
lisp123 has quit [Remote host closed the connection]
boogs has joined #commonlisp
alemmens has quit [Ping timeout: 248 seconds]
akoana has joined #commonlisp
holycow has joined #commonlisp
haoms has joined #commonlisp
aartaka has quit [Ping timeout: 268 seconds]
aartaka has joined #commonlisp
alemmens has joined #commonlisp
n0den1te has joined #commonlisp
n0den1te has left #commonlisp [#commonlisp]
n0den1te has joined #commonlisp
n0den1te has quit [Client Quit]
aartaka has quit [Ping timeout: 260 seconds]
aartaka has joined #commonlisp
alemmens has quit [Ping timeout: 260 seconds]
rgherdt has joined #commonlisp
aartaka has quit [Ping timeout: 265 seconds]
tyson2 has joined #commonlisp
aartaka has joined #commonlisp
son0p has quit [Ping timeout: 268 seconds]
_cymew_ has joined #commonlisp
cage has joined #commonlisp
alemmens has joined #commonlisp
_cymew_ has quit [Ping timeout: 248 seconds]
aartaka has quit [Ping timeout: 248 seconds]
aartaka has joined #commonlisp
atgreen has joined #commonlisp
azimut has joined #commonlisp
aartaka has quit [Ping timeout: 252 seconds]
<atgreen> I am programmatically generating CL code. I don't want to worry about formatting during codegen, but I do want to emit nicely formatted code in the end. Are there existing libraries or tools that I can hook into my code generator for this?
aartaka has joined #commonlisp
<Bike> atgreen: the standard pretty printer is designed for this
<Colleen> Bike: drmeister said 8 hours, 19 minutes ago: Can you point me to that binary serialization system? I just hit 1,952 training molecules. I'm gonna need a bigger boat.
<atgreen> Bike: I'll try that out... I am revisiting an old project, and remembered that I couldn't make that work before. Maybe with fresh eyes...
<pjb> atgreen: well, the pretty printer can be used, but it's not specific for code, so it won't format the code exactly as a programmer would do. That said, (setf *print-right-margin* 60) (pprint code) give good enough output.
tyson2 has quit [Remote host closed the connection]
<yitzi> pjb: I think the pretty printer has all of the capability to print code as a programmer would. The default dispatch tables of most implementations are lacking. In the original XP dispatch table there were about 60 forms handled. All of them were specific macros, function call patterns, etc. with the exception of CONS which called PPRINT-FILL.
aartaka has quit [Ping timeout: 260 seconds]
aartaka has joined #commonlisp
aartaka has quit [Ping timeout: 268 seconds]
aartaka has joined #commonlisp
haoms has left #commonlisp [#commonlisp]
aartaka has quit [Ping timeout: 264 seconds]
aartaka has joined #commonlisp
aartaka has quit [Ping timeout: 252 seconds]
akoana has quit [Quit: leaving]
<pjb> yitzi: perhaps; I don't know the subtleties of the pretty printer. I can just call pprint. :-(
<yitzi> Point taken. :)
aartaka has joined #commonlisp
aartaka has quit [Ping timeout: 272 seconds]
tyson2 has joined #commonlisp
aartaka has joined #commonlisp
varjag has joined #commonlisp
aartaka has quit [Ping timeout: 265 seconds]
aartaka has joined #commonlisp
Fare has joined #commonlisp
son0p has joined #commonlisp
aartaka has quit [Ping timeout: 252 seconds]
aartaka has joined #commonlisp
alemmens has quit [Ping timeout: 264 seconds]
boogs has quit [Ping timeout: 272 seconds]
attila_lendvai has joined #commonlisp
aartaka has quit [Ping timeout: 246 seconds]
morganw has joined #commonlisp
aartaka has joined #commonlisp
aartaka has quit [Ping timeout: 256 seconds]
rogersm has joined #commonlisp
varjag has quit [Ping timeout: 268 seconds]
waleee has joined #commonlisp
aartaka has joined #commonlisp
son0p has quit [Killed (NickServ (GHOST command used by son0p-!~ff@181.136.122.143))]
son0p has joined #commonlisp
aartaka has quit [Ping timeout: 256 seconds]
aartaka has joined #commonlisp
varjag has joined #commonlisp
aartaka has quit [Ping timeout: 252 seconds]
aartaka has joined #commonlisp
alemmens has joined #commonlisp
Algernon69 has joined #commonlisp
holycow has quit [Quit: Lost terminal]
aartaka has quit [Ping timeout: 252 seconds]
aartaka has joined #commonlisp
VincentVega has joined #commonlisp
aartaka has quit [Ping timeout: 265 seconds]
aartaka has joined #commonlisp
<atgreen> pretty printer seems OK for now, but it upcases all of the symbols. I'd like them downcase by default.
aartaka has quit [Ping timeout: 255 seconds]
aartaka has joined #commonlisp
<atgreen> oh.. *print-case*
aartaka has quit [Ping timeout: 268 seconds]
aartaka has joined #commonlisp
aartaka has quit [Ping timeout: 256 seconds]
<Bike> the pretty printer is also quite configurable (not just case, but also more complicated stuff like custom print rules for certain operators)
alemmens has quit [Ping timeout: 265 seconds]
aartaka has joined #commonlisp
<random-nick> VincentVega: regarding the blog post you shared and the discussion two days ago, after reading the fern section of the power of structure article and the mcclim section of the all else is not enough article, I still don't understand why would prototype OO + a constraint resolution system be beneficial to GUI programming compared to class-based OO and maybe a reactive programming paradigm (like the cells library)
<random-nick> though I don't know if this is the right channel for discussing that, maybe #lispcafe or #clim instead?
<pjb> random-nick: have a look at Garnet+KR.
<ixelp> CLiki: Garnet
aartaka has quit [Ping timeout: 272 seconds]
samebchase has joined #commonlisp
rgherdt has quit [Remote host closed the connection]
aartaka has joined #commonlisp
rgherdt has joined #commonlisp
<random-nick> pjb: VincentVega's project is apparently based on garnet+kr and something called multi-garnet
aartaka has quit [Ping timeout: 260 seconds]
masinter has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
alemmens has joined #commonlisp
alemmens has quit [Ping timeout: 260 seconds]
Algernon69 has quit [Ping timeout: 265 seconds]
<jackdaniel> atgreen: lately I'm generating code from xml specification and it turns out nicely thanks to a pretty printer
<jackdaniel> atgreen: like this: turtleware.eu/static/paste/803e5a8aeeee09b91b7e2e4823cc18149f994861-xproto.lisp
<jackdaniel> it is generated from instances of a class xml-node
ec has quit [Remote host closed the connection]
ec has joined #commonlisp
alemmens has joined #commonlisp
<atgreen> the problem I've just hit with the pretty printer is that package names are a problem... Right now I'm generating a string like "(myfun foo:bar)". I can't read that and print it because it's complaining about package "foo" missing
<atgreen> my project is a java source code transpiler.. converting all of the jre source files to lisp
steew has joined #commonlisp
occ has quit [Read error: Connection reset by peer]
<jackdaniel> suppose that you have an instance #<jre-file> that defines a package that has the symbol foo:bar
<jackdaniel> in that case the first thing you will pretty print is the package definition (and in-package)
<jackdaniel> unless foo:bar is not a symbol in a package foo?
<jackdaniel> it may not be seen in the example I gave, but the defpackage in there will have :export clause with all defined symbols
<atgreen> I am cheating right now and referencing them all with "::"
<jackdaniel> so if something acesses clx.xcb-proto.xproto:rectangle, then both package and the symbol will be present
<atgreen> so I don't have to export
<jackdaniel> I see, that's another way (but you still need a foo package to be created)
notzmv has quit [Ping timeout: 264 seconds]
<atgreen> yes, I do that
<atgreen> very basic stuff is working... I just want to change how code is emitted so it is nicely formatted
<jackdaniel> I'm not very experienced with pretty printer but I've found it very nice with tasks I'm doing (both with generating common lisp and c99 code)
<atgreen> Is there some way I can disable CL's handling of : while it reads?
occ has joined #commonlisp
<jackdaniel> you may define your own read table and replace the reader macro character :
<jackdaniel> then when you read the file, use the alternative read-table
alemmens has quit [Ping timeout: 252 seconds]
tyson2 has joined #commonlisp
alemmens has joined #commonlisp
<atgreen> is is a macro character?
<atgreen> cl-user> (get-macro-character #\')
<atgreen> #<function sb-impl::read-quote>
<atgreen> cl-user> (get-macro-character #\:)
<atgreen> nil
<atgreen> nil
<atgreen> nil
<jackdaniel> it is probably part of the symbol reader, but if you make #\: a macro that is not constitudent then you will read two symbols
<jackdaniel> but that's probably not what you want
<jackdaniel> and replacing the symbol reader would be a tad more invovled
<atgreen> it doesn't seem like this is going to work :(
<atgreen> maybe formatting the code with an external process (emacs) would be better
<jackdaniel> but why can't you define the package with appropriate exports? or put a double colon?
tyson2 has quit [Remote host closed the connection]
<jackdaniel> hacking a reader is fun but it seems more like a kludge than a solution
<atgreen> I don't want to define packages a transpile-time
<atgreen> I just want to generate code
<jackdaniel> but in that case you don't need to read it
<jackdaniel> and there is no problem in the first place - am I wrong?
<atgreen> well, I'm generating it as a string right now
<atgreen> so I would have to read the string in order to pretty print it
<jackdaniel> you have a common lisp code (as text) that you want to print as a common lisp code?
alemmens has quit [Ping timeout: 264 seconds]
<jackdaniel> I thougth that you have some ast representation that you want to print as common lisp (like me :)
cage has quit [Quit: rcirc on GNU Emacs 28.2]
tyson2 has joined #commonlisp
<atgreen> I'm generating CL source code from an AST. I'm going to try this: https://github.com/yitzchak/cl-indentify
<ixelp> GitHub - yitzchak/cl-indentify: Automatic indentation for Common Lisp
azimut_ has joined #commonlisp
azimut has quit [Ping timeout: 255 seconds]
hrberg has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
hrberg has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
hrberg has joined #commonlisp
alemmens has joined #commonlisp
attila_lendvai has quit [Ping timeout: 246 seconds]
holycow has joined #commonlisp
attila_lendvai has joined #commonlisp
alemmens has quit [Ping timeout: 255 seconds]
Lord_of_Life has quit [Ping timeout: 252 seconds]
Lord_of_Life has joined #commonlisp
hrberg has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
hrberg has joined #commonlisp
alemmens has joined #commonlisp
notzmv has joined #commonlisp
varjag has quit [Quit: ERC 5.4.1 (IRC client for GNU Emacs 29.0.50)]
alemmens has quit [Ping timeout: 252 seconds]
rgherdt has quit [Remote host closed the connection]
shka has quit [Ping timeout: 246 seconds]
jeosol has quit [Quit: Ping timeout (120 seconds)]
jeosol has joined #commonlisp
morganw has quit [Remote host closed the connection]
azimut_ has quit [Ping timeout: 255 seconds]
occ has quit [Ping timeout: 260 seconds]
shka has joined #commonlisp
azimut has joined #commonlisp
asarch has joined #commonlisp
alemmens has joined #commonlisp
attila_lendvai has quit [Ping timeout: 260 seconds]
asarch has quit [Quit: Leaving]
alemmens has quit [Ping timeout: 252 seconds]