00:01:35 <ehird> oerjan: well I'm going to write my own TokenParser :(
00:01:45 <ehird> But .. do I have to define, like, everything in that newtype?
00:02:18 <oerjan> er you are not just writing your own LanguageDef?
00:02:27 <ehird> oerjan: I don't like it! it's too magical :(
00:02:56 <Sgeo> Hey, do BF programs really need to be able to tell the perms?
00:03:10 <oerjan> i don't think TokenParser itself is used for anything other than extracting its fields, so if you are writing yourself there is no point in including anything other than what you use
00:03:45 <ehird> Sgeo: Hey, do BF programs really need GUIs?
00:03:59 <ehird> If you still work on the GUI stuff after answering that; then add the perms.
00:04:04 <oerjan> but you should definitely read up on the ParsecCombinator section then
00:04:24 <ehird> Really, I just want LanguageDef, sans magic.
00:04:33 <ehird> Just something that will help me sort out my whitespace & stuff.
00:04:47 <oerjan> (sepBy and between makes it easy to write things like commaSep and square, e.g.)
00:06:09 * Sgeo decides to leave out the permissions check
00:06:21 <ehird> oerjan: indeed, I just want things like commaSep.
00:06:31 <ehird> But, then, I'd have to handle whitespace inside all of that.
00:07:20 <oerjan> perhaps try the emptyDef style
00:07:54 <oerjan> no comments, no predefined names
00:08:20 * Sgeo leaves function 0x00 0x06 0x05 undefined
00:08:34 -!- GreaseMonkey has joined.
00:10:05 <oerjan> without comments all of the general combinators should just skip spaces and nothing else
00:10:19 <ehird> oerjan: mm, it still has languagey stuff though
00:10:21 <oerjan> er, spaces and newlines, i assume
00:11:09 <oerjan> i don't think those are used unless you use the specific combinators for parsing operators or identifiers
00:13:22 <ehird> lexer :: TokenParser ()
00:13:22 <ehird> lexer = makeTokenParser emptyDef
00:14:19 <ehird> oerjan: so (char 's') should now be written (symbol "s")
00:14:40 <oerjan> whenever you want to skip space after it
00:15:22 <ehird> oerjan: hmm, when i write things like a rule for consing..
00:15:29 <ehird> how do i 1. avoid inf loops 2. get the precedence right?
00:15:36 <ehird> I guess by doing crazy lexing. :(
00:17:13 * oerjan evilly points ehird toward the Expressions and Module ParsecExpr sections
00:20:17 * oerjan notes there is an Examples sections with a few links
00:37:35 <Sgeo> Maybe I should include os.stat() as a function>
00:40:35 <Sgeo> oerjan, http://trac2.assembla.com/psox/changeset/94
00:45:11 <Sgeo> oerjan, http://trac2.assembla.com/psox/changeset/95
00:48:52 -!- ehird has quit ("This computer has gone to sleep").
00:54:40 <GreaseMonkey> here's something i'm wondering: how would you operate a flux capacitor, if it were to be invented?
00:56:07 -!- GreaseMonkey has set topic: You've reached this channel because the channel you tried to enter has been configured with join throttling (+J). There may be a 4chan attack in progress there, or simply unusually heavy interest. Please leave this monad and return again. Your channel may also be "arrows-only" (+r); join #please_register for more information. If you need help, massage a freenode staffer or email staff@freenode.net .... Thanks!.
00:56:42 <GreaseMonkey> i'm thinking: if you charge it one way, you go forwards on discharge, and same thing the other way but going backwards.
00:57:19 <slereah_> It was invented during a concussion vision, so why not
01:10:52 <Sgeo> I can make a combined cp/vm
01:11:53 <Sgeo> Actually, I think I would be able to add rm into that combo
01:11:58 <Sgeo> But that's probably a bad idea..
01:14:25 <lament> wow, i just found out that libfftw is automatically generated by ocaml code
01:19:02 -!- oerjan has quit ("Good night").
02:13:05 -!- wildhalcyon has joined.
02:20:58 -!- ihope_ has quit (Read error: 104 (Connection reset by peer)).
03:13:18 -!- Corun has quit ("This computer has gone to sleep").
04:19:49 -!- pikhq_ has joined.
04:20:15 -!- pikhq has quit (Nick collision from services.).
04:20:22 -!- pikhq_ has changed nick to pikhq.
05:16:11 -!- Sgeo has quit (Read error: 110 (Connection timed out)).
05:52:32 -!- calamari has quit ("Leaving").
05:57:19 -!- GreaseMonkey has quit ("Read error: 110 (Connection chickened out)").
06:45:00 -!- puzzlet_ has quit (Read error: 110 (Connection timed out)).
07:03:21 -!- oerjan has joined.
07:59:59 -!- clog has quit (ended).
08:00:00 -!- clog has joined.
09:49:07 -!- _D6Gregor1RFeZi has changed nick to GregorR.
10:30:47 -!- oerjan has quit ("Bus").
11:42:42 -!- RedDak has joined.
12:01:04 -!- Tritonio_ has joined.
12:03:45 -!- uvanta has quit ("php you!").
13:02:48 -!- Corun has joined.
14:33:19 -!- RedDak has quit ("I'm quitting... Bye all").
14:40:09 -!- Hiato has joined.
14:44:48 -!- Corun has quit ("This computer has gone to sleep").
14:46:09 <Hiato> Yeah, pretty much the same. Nothing to do this weekend, except chill ;)
14:46:31 <slereah_> I tried to read the Kolmogorov paper this week end
14:46:45 <slereah_> But I'm starting to wonder if it wouldn't be easier in Russian.
14:47:31 <Hiato> Pshh... Beats me, I'm most certainly not in the position to comment - whatsoever
15:10:40 -!- RedDak has joined.
15:37:53 -!- pikhq has quit (Read error: 110 (Connection timed out)).
15:49:07 -!- Hiato has left (?).
16:59:18 -!- timotiis has joined.
17:01:52 -!- oerjan has joined.