[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: another take on hackers and painters




Dan Sugalski <dan@sidhe.org> writes:

> 2) If the parser saw 1 + three in the code stream it wouldn't do the
> math, so I'd generally assume that 1 + "three" wouldn't either.
>
> Both statements are language-local--I wouldn't be surprised to find a
> language that allowed "three" either as a string constant or bareword
> to translate to the number three. I'd expect it wouldn't be as useful

#!/usr/bin/perl -l

use Lingua::Romana::Perligata;

addementum tres tum 1 egresso scribe.
addementum tres tum unum egresso scribe.
addementum 3 tum 1 egresso scribe.

-- 
Jasvir Nagra
http://www.cs.auckland.ac.nz/~jas