[Icfp04-discuss] three liberal arts

Justin Koser jmk63 at cornell.edu
Tue Jun 8 17:38:50 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrey V. Stolyarov wrote:
| On Tue, 8 Jun 2004, Andreas Bogk wrote:
|> Oh, being able to come up with a simulator of decent performance is
|> an advantage. So I don't think it's bad you had to write it
|> yourself.
|
| Hmm, I think it's a good idea to translate all keywords into
| numbers -- and that's almost all. State is represented with an
| array of 6 short integers - the longest line, smth like
|
|        Sense Here 127 247 Marker 6
|
| becomes something like {20001 20101 127 247 20200 6},

But if you're using, say ML-style datatypes, this is essentially what
the compiler produces on the other end.  And the great part is that the
code is still very readable:

type ant_brain = instruction array;;

and so on...


Cheers,
Justin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAxiPaNjwQxC3zLzERAtDOAJ0TMp/NgjB+d0waxq6SSCv7K/Q6CACfR2Jc
dIFAqFtSu4tWhPixbIlOmJM=
=4Rcw
-----END PGP SIGNATURE-----


More information about the Icfp04-discuss mailing list