code logs -> 2011 -> Thu, 01 Dec 2011< code.20111130.log - code.20111202.log >
--- Log opened Thu Dec 01 00:00:48 2011
00:45 Derakon[AFK] is now known as Derakon
00:47 celmin [celticminst@1AB00B.855209.68E340.9900A4] has joined #code
01:25 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has quit [[NS] Quit: beroot]
01:30 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
01:31 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
01:33 Alek [omegaboot@Nightstar-10752b3e.il.comcast.net] has joined #code
01:40 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has quit [[NS] Quit: Into the hole again, we hurried along our way, into a once-glorious garden now seeped in dark decay.]
01:43 Attilla [Obsolete@Nightstar-f29f718d.cable.virginmedia.com] has joined #code
02:19 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Client closed the connection]
02:22 Kindamoody[zZz] is now known as Kindamoody
02:30 Attilla [Obsolete@Nightstar-f29f718d.cable.virginmedia.com] has quit [Ping timeout: 121 seconds]
02:45 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has quit [[NS] Quit: Well, most things get better when I kick them!]
02:55 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has quit [[NS] Quit: Z?]
03:10 Kindamoody is now known as Kindamoody|afk
03:20 Kindamoody|afk is now known as Kindamoody
03:20 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
03:24 Kindamoody is now known as Kindamoody|out
03:28 celmin [celticminst@1AB00B.855209.68E340.9900A4] has quit [[NS] Quit: And lo! The minstrel departs, to spread the music to the masses!]
03:38 * McMartin actually uses cdadr.
03:40 * McMartin is probably a bad person
03:40
< McMartin>
But, success
03:40
< McMartin>
> (parse-string "y[10] of 5")
03:40
< McMartin>
((1 . 1) value (make-array "y" ((1 . 3) int-const 10) ((1 . 10) int-const 5)))
03:40
< McMartin>
> (parse-string "x.y[10] of 5")
03:40
< McMartin>
1:1: Illegal array constructor
03:40
< McMartin>
((1 . 1) value (var-ref "x") (field-ref "y"))
03:43 * Vornicus has no idea what you just did.
03:45
< McMartin>
This stupid toy language I'm writing a parser for for practice isn't LL(k)
03:45
< McMartin>
I've gotten around that with a little post-processing inside parse-lvalue.
03:45
< McMartin>
That post-processing manipulates the lists that are the results (this is Scheme)
03:45
< McMartin>
cdadr is a library function operating on pairs of pairs of pairs.
03:46
< McMartin>
(define (cdadr x) (cdr (car (cdr x)))), more or less.
03:50
< Noah>
McMartin is a man; he wears a top hat. "A very stylish man is here."
03:51
< Rhamphoryncus>
.. pairs of pairs of pairs..
04:00 * Vornicus pokes once again at euler 44. Wonders why in god's name he even tried it this way.
04:01
< Tamber>
Because it worked?
04:01<~Vornicus> Well, okay, it did, but it's so bad I don't know how it worked or why.
04:02<~Vornicus> I suspect originally I had a non-binary search in here, and then because I needed more speed I added a gallop and some other stuff.
04:23<~Vornicus> I imagine though that I shouldn't have to do this; that there's some lovely equations I can throw together that make finding the answers much easier.
04:28 Reivles [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
04:28 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
04:33<~Vornicus> but in reality I have two degrees of freedom and I do not see any way whatsoever to reduce it to one, so that's not going to be pleasant.
04:33
< McMartin>
Rhamphoryncus: Well, literally the only structured data type Scheme has is the heterogeneous pair.
04:33 * Rhamphoryncus should shut up now. No good will come of this. ;)
04:34
< Tamber>
Someone please kill me. Kill me to death. Kill me to death until I'm dead of it.
04:35
< McMartin>
It does hide it well
04:35
< McMartin>
While many Scheme implementations have a define-record construct, (a) those are macros (b) that turn into lists or implementation-specific vectors
04:36
< McMartin>
Whether vectors count as "structured" is an entirely different question~
04:36 * Rhamphoryncus repeats his "no good will come of this"
04:36
< McMartin>
Do you have something else in mind~
04:37
< McMartin>
Or are you just saying that the code is going to be terrible~
04:37
< McMartin>
(Also, by "Scheme" here I really mean "R5RS", since that's what this system is based on)
04:37
< McMartin>
(Racket may as well be an entirely different language)
04:39
< Rhamphoryncus>
I think I should focus on making my own language good rather than on how other languages are bad
04:39
< McMartin>
Aww
04:39
< McMartin>
Half the fun is making single inheritance work by hand >_>
04:39
< McMartin>
Because it *totally is*
04:39
< McMartin>
Or totally will, once I get to typechecking.
04:40
< McMartin>
The language I'm implementing is shit, and I will probably abandon it once I get to the typecheck phase.
04:40
< McMartin>
Or put in a totally perfunctory C-source backend.
04:40
< Rhamphoryncus>
why do people output C? Why not use LLVM?
04:40
< McMartin>
For one, because I have about twelve C compilers and zero LLVM compilers.
04:41
< McMartin>
For two, because outputting C is easier, and this toy language isn't worth the effort to write a generator for
04:41
< McMartin>
I would literally sooner write a code generator for compiled Commodore BASIC than for this.
04:42
< Rhamphoryncus>
heh
04:42
< McMartin>
(A continuing side project of mine is to come up with a useful subset of some medium-to-high level language that can be profitably translated to 6502 assembler in a way that can be easily linked against hand-coded stuff)
04:43
< McMartin>
(A FORmula TRANslator, if you will, but with better support for structured data types as well)
04:44
< Rhamphoryncus>
heh
04:45
< McMartin>
Hilariously, it turns out C abstracts stuff out that Pascal doesn't, so Pascal is a better starting point.
04:45
< McMartin>
C has no real concept of a bounded loop, and most of the older machines have opcodes that are Better At Those.
04:49
< McMartin>
Also, I will say this: Scheme is probably the minimal language you can have that is still usable as a production language.
04:50
< McMartin>
Despite the wackiness and the total lack of support for anything intrinsically except for ancient, universal cthonic entities, the compilers are top-notch and you can actually be quite concise while coding complex stuff.
04:54 * Rhamphoryncus nods
04:59 ErikMesoy [Erik_Mesoy@Nightstar-f7eedefa.80-203-17.nextgentel.com] has joined #code
04:59 ErikMesoy|sleep [Erik_Mesoy@Nightstar-f7eedefa.80-203-17.nextgentel.com] has quit [Ping timeout: 121 seconds]
05:19 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
05:51 Kindamoody|out is now known as Kindamoody
05:59 kwsn is now known as kw-sleep-n
06:10 kw-sleep-n [kwsn@Nightstar-635d16fc.org] has quit [Ping timeout: 121 seconds]
06:14
< ToxicFrog>
I still need to really sit down and learn a Lisp. I always get sidetracked back into Lua at some point.
06:14
< ToxicFrog>
Maybe I should learn Clojure~
06:14 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
06:15 Reivles [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
06:18 kw-sleep-n [kwsn@Nightstar-635d16fc.org] has joined #code
06:28 Derakon is now known as Derakon[AFK]
06:54 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
06:55 Syloqs_AFH is now known as Syloqs-AFH
07:36 You're now known as TheWatcher
07:37
< McMartin>
ToxicFrog: Racket appears to be The Best Scheme.
07:40 Kindamoody is now known as Kindamoody|out
07:47 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
07:48 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
08:14
< Rhamphoryncus>
Damnit, when can't I do a simple language. It's not like rules of object allocation/deletion are potentially complicated or anything. >.>
08:39
< TheWatcher>
Bah! Let the programmer figure it out! Real Programmers do their own memory handling!~
08:40
< McMartin>
He said language, not runtime. >_>
08:40
< McMartin>
Therefore, the obvious solution is "all objects have infinite extent! Runtimes must be garbage-collected."
08:41
< TheWatcher>
snrk
08:42 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
08:43 You're now known as TheWatcher[afk]
08:54
<@jerith>
Just allocate all objects at compil-time.
08:54
<@jerith>
+e
09:06 * Rhamphoryncus pokes at spacechem and wonders how to do "don't fear the reaper" *well*
09:11 Attilla [Obsolete@Nightstar-f29f718d.cable.virginmedia.com] has joined #code
09:27 ErikM [NSwebIRC@FA912D.398CEF.7B7F2C.BBBD89] has joined #code
09:28
< ErikM>
One of my cow-orkers is experiencing the strangest bug: sometimes hitting the c key on his laptop produces "c", sometimes it produces "b *" instead. Anyone ever heard of anything like it?
09:34
< AD[Shell]>
Yes. This may be the product of spilling coffee on the keyboard.
09:34
< AD[Shell]>
Solution is to get a new keyboard.
10:21
< Rhamphoryncus>
Spilling more coffee may also be the solution
10:25
< sshine>
or unspilling it.
10:32 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has joined #code
10:35 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has quit [Client exited]
11:06 kw-sleep-n is now known as kwsn
12:57 kwsn is now known as kws-not-here
13:33 gnolam [lenin@Nightstar-202a5047.priv.bahnhof.se] has joined #code
14:18 kws-not-here is now known as kwsn
14:38 Kindamoody|out is now known as Kindamoody
14:46 Noah [maoranma@Nightstar-3da9206b.pools.spcsdns.net] has quit [Ping timeout: 121 seconds]
14:47 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
15:04 ErikM [NSwebIRC@FA912D.398CEF.7B7F2C.BBBD89] has quit [[NS] Quit: Going home.]
15:09 You're now known as TheWatcher
15:54 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
16:22 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has quit [Ping timeout: 121 seconds]
16:27 Reiver [orthianz@3CF3A5.E1CD01.C6689C.33956A] has joined #code
16:47 Stalker [Z@Nightstar-3602cf5a.cust.comxnet.dk] has quit [[NS] Quit: Into the hole again, we hurried along our way, into a once-glorious garden now seeped in dark decay.]
18:11 Stalker [Z@Nightstar-5aa18eaf.balk.dk] has joined #code
18:18 Kindamoody is now known as Kindamoody[zZz]
18:35 maoranma [maoranma@Nightstar-3da9206b.pools.spcsdns.net] has joined #code
21:06 celticminstrel [celticminst@Nightstar-5d22ab1d.cable.rogers.com] has joined #code
21:44 ErikMesoy is now known as ErikMesoy|sleep
21:52
< kwsn>
woot
21:52
< kwsn>
another project down
22:01
< McMartin>
?
22:28
< kwsn>
McMartin: i'll tell you later
22:41 Syloqs-AFH [Syloq@NetworkAdministrator.Nightstar.Net] has quit [[NS] Quit: ]
22:44 kwsn is now known as kws-not-here
23:05 Rhamphoryncus [rhamph@Nightstar-14eb6405.abhsia.telus.net] has joined #code
23:05 Syloqs_AFH [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code
23:07 Syloqs_AFH is now known as Syloqs-AFH
23:41 cpux [cpux@Nightstar-c5874a39.dyn.optonline.net] has joined #code
--- Log closed Fri Dec 02 00:00:03 2011
code logs -> 2011 -> Thu, 01 Dec 2011< code.20111130.log - code.20111202.log >

[ Latest log file ]