02:16:39: -!- Doxin has quit (Remote host closed the connection).
13:11:04: -!- Doxin has joined #corewars.
13:11:05: -!- Doxin has quit (Changing host).
13:11:05: -!- Doxin has joined #corewars.
15:38:01: -!- fiveop has joined #corewars.
15:41:34: <impomatic> Hi :-)
16:02:40: <Doxin> ohai impomatic
16:09:25: * impomatic has been trying to compile pMARS with core display on the Raspberry Pi. It doesn't want to compile :-(
16:11:32: <Doxin> D:
16:11:42: <Doxin> impomatic: what's going wrong?
16:12:49: <impomatic> Not sure, will try again tonight and let you know the exact errors. Possibly I need to install something else, or I've got the flags wrong.
16:12:57: <Doxin> hmm
16:42:47: <impomatic> I've been trying to find out more about SURFIT, an ancestor of Core War.
16:44:31: <impomatic> There's no information online. I've just posted the little I know to Google+ https://plus.google.com/102212268901593257476/posts/YQs8bnXAdsc
17:13:48: <Doxin> hmm
17:13:49: <Doxin> neat
17:14:59: <Doxin> impomatic: where are you collecting all this history?
17:17:17: <impomatic> Eventually it will all be on corewar.co.uk.
17:18:13: <Doxin> impomatic: awesome
17:18:17: <Doxin> impomatic: who runs that site?
17:18:57: <impomatic> That's one of mine. Also http://programminggames.org and http://retroprogramming.com :-)
17:19:04: <Doxin> awesome
17:26:14: <Doxin> impomatic: you think there's interest in a web-based MARS?
17:33:41: <impomatic> Doxin: yes. There are one or two. Not sure how complete / effective they are.
17:34:07: <Doxin> impomatic: you have links?
17:34:19: <Doxin> impomatic: I'm sortof gauging if I should put effort into this
18:04:09: <impomatic> http://xcore.zbalai.com is the best I've seen.
18:04:21: <Doxin> flash, ick.
18:06:37: <impomatic> A JavaScript MARS would be nice. With single step debugging. Also embeddable into a webpage (so you can run the examples in a tutorial).
18:08:11: <Doxin> impomatic: I'm working on it ;)
18:16:04: <impomatic> Symbolic debugging would be a bonus :-)
18:25:31: <Doxin> impomatic: hmm
18:25:41: <Doxin> impomatic: let me get some basics working first :P
18:31:26: -!- impomatic has quit (Quit: impomatic).
20:20:30: -!- fiveop has quit (Quit: humhum).
20:48:17: -!- impomatic has joined #corewars.
22:08:03: <Doxin> impomatic: man, parsing stuff is annoying.
22:11:38: <Doxin> impomatic: whodda guessed redcode has tricky syntax
22:25:57: <impomatic> I hate parsing. It's tedious.
22:30:38: <Doxin> exactly
22:30:47: <Doxin> impomatic: somehow my regexes are buggering out too
22:31:04: <Doxin> impomatic: ";.*" doesn't match "i" ffs
22:34:06: <impomatic> What's the ; for?
22:34:51: <Doxin> impomatic: comment start
22:35:29: <Doxin> I found the problem though, I accidentally the token name
22:35:57: <impomatic> Ah, okay :-)
22:37:03: <impomatic> I use this these regex to match redcode http://corewar.co.uk/redcode.js
22:37:29: <Doxin> well that is entirely unreadable
22:37:49: <Doxin> what the heck is going on there ._.
22:38:00: <Doxin> "c[x].innerHTML.split('').reverse().join('')"
22:38:19: <Doxin> impomatic: why the reversing ;_;
22:38:42: <impomatic> I was just about to explain that! Here's an example of it in use http://corewar.co.uk/reepicheep.htm
22:39:36: <impomatic> It's reversed so I can tell the difference between a semicolon in a html entity (e.g. &lt;) and the start of a comment
22:41:24: <Doxin> oh
22:41:31: <Doxin> that seems... bad
22:44:35: <Doxin> impomatic: I'm steadily making progress however
22:48:24: <impomatic> Yes it's bad, but it's the simplest way. JavaScript regex is missing lookbehind :-(
22:49:00: <Doxin> impomatic: no need for lookbehind, only for lookahead. (also is it really? python has lookbehind in its regex)
22:49:20: <Doxin> impomatic: you can try and match a html escape first, and if that fails try and match a comment
22:50:04: <Doxin> impomatic: also why aren't you just parsing out the html escapes as preprocessing step?
22:51:16: <impomatic> I wrote that last February, so I can't remember why. There was a good reason.
22:52:32: <impomatic> Maybe because I wanted to bold the name and author.
22:55:04: <Doxin> I don't see how that's related. you really should've wroten a tokenizer either way