I am considering adding PIR translations (and possibly other language
translations) of the OpenGL Programming Guide ("Red Book") sample code
to examples/opengl/ in the Parrot repository. The original C version of
this code is under the seemingly free license at the bottom of this
mess
On Tue, Oct 16, 2001 at 04:58:47PM -0400, James Mastros wrote:
> There's /got/ to be a better way to write these. I propose making opcodes
> specificly to do these. This is an inner-loop kind of thing.
There will be, of course; the substr solution doesn't really scale to
Unicode. :)
--
We all
On Tue, 2001-10-16 at 15:58, James Mastros wrote:
> On Tue, 16 Oct 2001, Brian Wheeler wrote:
> > _chr - create a string (S0) with the ascii value of I0
> > _ord - return (in I0) the ascii value of the first character in S0
> There's /got/ to be a better way to write these. I propose making opcod
On Tue, 16 Oct 2001, Brian Wheeler wrote:
> _chr - create a string (S0) with the ascii value of I0
> _ord - return (in I0) the ascii value of the first character in S0
There's /got/ to be a better way to write these. I propose making opcodes
specificly to do these. This is an inner-loop kind of
I've written a library of sorts which contains useful routines such as:
_absi - absolute value of I0
_absn - absolute value of I0
_chomp - chomp a string (S0) with a trailing newline
_chr - create a string (S0) with the ascii value of I0
_exit - terminate with a return code of I0
_hex - return i