<ixelp>
glkit/src/vao/vao.lisp at master · lispgames/glkit
<Bubblegumdrop>
I am currently attempting to build a CNF/SAT solver using a similar concept
uhuh has joined #commonlisp
uhuh has quit [Changing host]
uhuh has joined #commonlisp
<beach>
Bubblegumdrop: Do you take remarks on that code?
Everything has joined #commonlisp
<Bubblegumdrop>
beach the glkit or the CNF thing I mentioned?
<beach>
The code in the link. But perhaps it's not yours.
<Bubblegumdrop>
correct, it is not my code, however, if you have insigntful comments, I am all eyes :)
<beach>
Nah, it would be better to say it to the author.
<Bubblegumdrop>
The code seems very complicated to me
<Bubblegumdrop>
I'm fairly certain that isn't ideal
<Bubblegumdrop>
I'm also aware of the complexity of OpenGL shaders so perhaps it is necessary
<beach>
I just have very superficial remarks for now. I don't really understand the code.
<beach>
Does the author hang out here?
<Bubblegumdrop>
I believe it does somthing similar to what pl described, using a series of class instances to represent some kind of heirerachical structure
<Bubblegumdrop>
Github says mfiano is the author (I didn't look at git blame) I think that's a name I've seen around these parts before.
<beach>
That absolutely has to be true, since every Common Lisp object is a class instance.
<|3b|>
i think that code is unmaintained at this point
<Bubblegumdrop>
Also yes^
<Bubblegumdrop>
The code is extremely crusty.
<Bubblegumdrop>
I had written some patches to extend its functionality at one point but have since moved to more actively maintained projects for Opengl/3d
<Bubblegumdrop>
Currently experimenting with Shinmera Trial
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 276 seconds]
ndanilov_ has joined #commonlisp
ndanilov has quit [Read error: Connection reset by peer]
toadlicker has quit [Read error: Connection reset by peer]
toadlicker has joined #commonlisp
ndanilov_ has quit [Read error: Connection reset by peer]
ndanilov has joined #commonlisp
uhuh has quit [Ping timeout: 245 seconds]
<Shinmera>
pl: cl-markless does something related to "backtrack" the parser without actually backtracking. A parse action can be cancelled by changing the class of the syntax component to a "neutral" one and inserting the consumed tokens.
<Shinmera>
so it never has to go back and try again parsing, discarding a whole bunch of other parse results
<Shinmera>
similarly, in Trial, a resource is change-class'd from a placeholder to an actual instance of something once the asset that generates the resource is loaded.
<Shinmera>
this lets me inject references to a resource (via load-time-value) *before* the resource is known to exist or what class it is an instance of, and *without* incurring repeated lookup costs at runtime
<Shinmera>
it's pretty neat, if I do say so myself.
<pl>
Shinmera: trial's use is what influenced me to consider change-class in general coding
dra has joined #commonlisp
<Shinmera>
heh
<Shinmera>
I also do some shenanigans around user customisation, but I think that's a more "normal" use-case. As in, instantiate a base class, let a user method change into a more specific subclass.
toadlicker has quit [Remote host closed the connection]
toadlicker has joined #commonlisp
admich1 has quit [Ping timeout: 244 seconds]
admich1 has joined #commonlisp
King_julian has quit [Ping timeout: 245 seconds]
King_julian has joined #commonlisp
calx-87 has quit [Ping timeout: 248 seconds]
ndanilov has quit [Remote host closed the connection]
calx-87 has joined #commonlisp
ndanilov has joined #commonlisp
ndanilov has quit [Ping timeout: 268 seconds]
Everything has quit [Ping timeout: 260 seconds]
Everything has joined #commonlisp
ndanilov has joined #commonlisp
jonatack has joined #commonlisp
psyorange has joined #commonlisp
apac has joined #commonlisp
random-nick has quit [Ping timeout: 245 seconds]
<psyorange>
hello folks ! Recently started with common lisp and love what I'm learning so far. It's very novel compared to C which Im more familiar with! Currently watching the MIT SICP course.
<beach>
psyorange: Congratulations!
<beach>
psyorange: But SICP is based on Scheme, so you would need to translate.
<psyorange>
pretty similar so far, I'm just looking up syntax on google
<beach>
I guess you are right that the basics look very similar. But when you start doing sophisticated stuff, they differ more.
<psyorange>
I wanted to write a lexer + parser and understand how they work ( i heard its elegant to write in a lisp). any particular dialect better for that /
random-nick has joined #commonlisp
<beach>
It is not widely agreed-upon which languages are dialects of Lisp, but Common Lisp is certainly a very powerful Lisp dialect.
<beach>
psyorange: You might want to join the channel #clschool in which people hang out specifically to answer newbie questions. Such questions are better asked there than here, but they are tolerated here, especially if traffic is otherwise low.
<psyorange>
Thanks for the rec!
<beach>
Sure.
apac has quit [Ping timeout: 245 seconds]
notzmv has joined #commonlisp
ndanilov has joined #commonlisp
ndanilov has quit [Ping timeout: 260 seconds]
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
notzmv has quit [Ping timeout: 248 seconds]
notzmv has joined #commonlisp
ndanilov has joined #commonlisp
notzmv has quit [Ping timeout: 244 seconds]
shka has joined #commonlisp
pkal has joined #commonlisp
McParen has joined #commonlisp
mrcom has quit [Quit: Leaving]
Everything has quit [Read error: Connection reset by peer]
apac has joined #commonlisp
Everything has joined #commonlisp
ryanbw has quit [Quit: I'll be back.]
jonatack has quit [Ping timeout: 248 seconds]
rgherdt has joined #commonlisp
puke has quit [Quit: puke]
puke has joined #commonlisp
psyorange has quit [Quit: Leaving]
ndanilov has quit [Ping timeout: 276 seconds]
veqq has joined #commonlisp
uhuh has joined #commonlisp
uhuh has quit [Changing host]
uhuh has joined #commonlisp
rgherdt has quit [Ping timeout: 260 seconds]
admich1 has joined #commonlisp
ndanilov has joined #commonlisp
lusciouslover has quit [Read error: Connection reset by peer]
rgherdt has joined #commonlisp
lusciouslover has joined #commonlisp
ndanilov has quit [Ping timeout: 260 seconds]
pkal has quit [Ping timeout: 260 seconds]
attila_lendvai has quit [Ping timeout: 248 seconds]
ewig has quit [Remote host closed the connection]
attila_lendvai has joined #commonlisp
White_Flame has quit [Ping timeout: 260 seconds]
White_Flame has joined #commonlisp
ryanbw has joined #commonlisp
ndanilov has joined #commonlisp
mgl has joined #commonlisp
ndanilov has quit [Ping timeout: 245 seconds]
uhuh has quit [Ping timeout: 248 seconds]
jack_rabbit has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 30.1]
ndanilov has joined #commonlisp
notzmv has joined #commonlisp
uhuh has joined #commonlisp
zxcvz has joined #commonlisp
Everything has quit [Ping timeout: 260 seconds]
varjag has joined #commonlisp
jack_rabbit has quit [Ping timeout: 276 seconds]
apac has quit [Ping timeout: 245 seconds]
admich1 has quit [Ping timeout: 245 seconds]
jack_rabbit has joined #commonlisp
attila_lendvai has quit [Ping timeout: 248 seconds]
attila_lendvai has joined #commonlisp
ndanilov has quit [Ping timeout: 276 seconds]
istewart has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
dmho has quit []
apac has joined #commonlisp
McParen has left #commonlisp [#commonlisp]
admich1 has joined #commonlisp
ndanilov has joined #commonlisp
ndanilov has quit [Ping timeout: 252 seconds]
ndanilov has joined #commonlisp
jack_rabbit has quit [Remote host closed the connection]
jack_rabbit has joined #commonlisp
jack_rabbit has quit [Ping timeout: 260 seconds]
notzmv has quit [Ping timeout: 260 seconds]
nytpu has quit [Remote host closed the connection]
<contrapunctus>
Shinmera: `(radiance:startup)` often gives me an error that `The value NIL is not of type SB-THREAD:THREAD` when trying to load `i-verbose` - https://paste.rs/vnApw
<Shinmera>
have you updated the dist and all?
<Shinmera>
that's a bug that should have been fixed
ndanilov has quit [Remote host closed the connection]
ndanilov has joined #commonlisp
uhuh has quit [Remote host closed the connection]
<contrapunctus>
I hadn't, thanks.
mgl has quit []
zxcvz has quit [Quit: zxcvz]
<Bubblegumdrop>
love your name contrapunctus
<contrapunctus>
Thank you 🙂
chomwitt has quit [Ping timeout: 260 seconds]
attila_lendvai has quit [Ping timeout: 248 seconds]
attila_lendvai has joined #commonlisp
King_julian has quit [Ping timeout: 248 seconds]
King_julian has joined #commonlisp
attila_lendvai has quit [Ping timeout: 244 seconds]