ANNOUNCE: The beginners' guide has moved!

G

Guest

Guest
Archived from groups: rec.games.corewar (More info?)

The beginners' guide to Redcode has moved. The new URL is:

http://vyznev.net/corewar/guide.html

The old www.sci.fi address currently redirects to the new page, and
will continue to do so for a while. However, the entire old site is
likely to disappear within a year. Please update your links!

I'm in the process of moving the rest of my site over, and cleaning up
some loose ends in the process. The move is just about done, at least
for the CW-related parts of the site, but the cleanup is still very
much in progress. Expect another announcement once I consider it to
be all done.

Ps. I've also made some minor changes to the guide, the most visible
of which is the addition of pretty colors! The code examples are now
nicely syntax-highlighted in browsers with style sheet support. I'll
probably still work on the appearance a bit, though I do intend to
keep it quite simple. Please do send me any suggestions and comments.

--
Ilmari Karonen
If replying by e-mail, please replace ".invalid" with ".net" in address.
 
Archived from groups: rec.games.corewar (More info?)

On Mon, 12 Apr 2004 01:48:21 +0300, Ilmari Karonen wrote:

> http://vyznev.net/corewar/guide.html

Wow, it looks *so* cool. Thanks a lot.

My pages need updating. Will do that soon.

--
Lukasz Grabun (My CW page: http://www.dwarfscorner.com/)
(reply-to field is fake, use grabek (at) acn dot waw dot pl to reply)
 
Archived from groups: rec.games.corewar (More info?)

Lukasz Grabun <grabek@purgatory.abyss> wrote in message news:<slrn.pl.c7m0kt.qtr.grabek@purgatory.abyss>...
> On Mon, 12 Apr 2004 01:48:21 +0300, Ilmari Karonen wrote:
>
> > http://vyznev.net/corewar/guide.html
>
> Wow, it looks *so* cool. Thanks a lot.
>
> My pages need updating. Will do that soon.

Yes, it is cool, but how did you do the dotted lines around the text?
that is so awesome!
 
Archived from groups: rec.games.corewar (More info?)

Ilmari Karonen wrote:

> The beginners' guide to Redcode has moved. The new URL is:
>
> http://vyznev.net/corewar/guide.html
>
> The old www.sci.fi address currently redirects to the new page, and
> will continue to do so for a while. However, the entire old site is
> likely to disappear within a year. Please update your links!
>
> I'm in the process of moving the rest of my site over, and cleaning up
> some loose ends in the process. The move is just about done, at least
> for the CW-related parts of the site, but the cleanup is still very
> much in progress. Expect another announcement once I consider it to
> be all done.
>
> Ps. I've also made some minor changes to the guide, the most visible
> of which is the addition of pretty colors! The code examples are now
> nicely syntax-highlighted in browsers with style sheet support. I'll
> probably still work on the appearance a bit, though I do intend to
> keep it quite simple. Please do send me any suggestions and comments.
>

I love it

Sascha

--
Parlez vous Redcode?
 
Archived from groups: rec.games.corewar (More info?)

Chris Lukas <cj_lukas@hotmail.com> kirjoitti 13.04.2004:
>> On Mon, 12 Apr 2004 01:48:21 +0300, Ilmari Karonen wrote:
>>
>> > http://vyznev.net/corewar/guide.html
>
> Yes, it is cool, but how did you do the dotted lines around the text?
> that is so awesome!

That was actually the easiest part. I just added

PRE { border: 1px dashed #3366dd; }

to the style sheet. Ain't CSS fun?

--
Ilmari Karonen
If replying by e-mail, please replace ".invalid" with ".net" in address.
 
Archived from groups: rec.games.corewar (More info?)

On Sat, 17 Apr 2004 01:19:25 +0300, Ilmari Karonen wrote:

> That was actually the easiest part. I just added
> PRE { border: 1px dashed #3366dd; }
> to the style sheet. Ain't CSS fun?

Have you used some kind of parser to surround instructions with tags?

--
Lukasz Grabun (My CW page: http://www.dwarfscorner.com/)
(reply-to field is fake, use grabek (at) acn dot waw dot pl to reply)
 
Archived from groups: rec.games.corewar (More info?)

Lukasz Grabun <grabek@purgatory.abyss> kirjoitti 17.04.2004:
>
> Have you used some kind of parser to surround instructions with tags?

Not really, unless you count query-replace-regexp in Emacs as "some
kind of parser". It took some time, but I don't expect I'll need to
do it again any time soon; I haven't changed the code examples in the
last six years anyway.

Not that it should be that hard to write one, actually. Redcode
syntax is really quite straightforward, especially if you ignore all
the bits not needed for just adding pretty colors. Let's see...

line := (label ":"?)? op? (";" comment)?
op := opcode ("." modifier)? mode? expr ("," mode? expr)?

The fact that expressions can't contain commas makes it particularly
simple. I think one could wrap it all up in one rather hairy regexp.

--
Ilmari Karonen
If replying by e-mail, please replace ".invalid" with ".net" in address.