Eduardo Cavazos
2009-02-05 05:38:42 UTC
Hello,
So far, I've been using 'gl.scm' without a 'library' form. I tried this one:
----------------------------------------------------------------------
(library
(larceny gl)
(export GL_FALSE ...)
(import (rnrs base)
(rnrs io simple)
(err5rs records syntactic))
; Rest of the file here...
)
----------------------------------------------------------------------
But it did Larceny doesn't seem to like it:
~ # larceny -- /scratch/_gl-larceny-library.scm
Larceny v0.97b1 (beta test) (Aug 25 2008 07:06:36, precise:Linux:unified)
ERROR detected during macro expansion:
Definition out of context
(define GL_FALSE 0)
larceny.heap, built on Mon Aug 25 07:08:14 EDT 2008
Any suggestions?
Ed
So far, I've been using 'gl.scm' without a 'library' form. I tried this one:
----------------------------------------------------------------------
(library
(larceny gl)
(export GL_FALSE ...)
(import (rnrs base)
(rnrs io simple)
(err5rs records syntactic))
; Rest of the file here...
)
----------------------------------------------------------------------
But it did Larceny doesn't seem to like it:
~ # larceny -- /scratch/_gl-larceny-library.scm
Larceny v0.97b1 (beta test) (Aug 25 2008 07:06:36, precise:Linux:unified)
ERROR detected during macro expansion:
Definition out of context
(define GL_FALSE 0)
larceny.heap, built on Mon Aug 25 07:08:14 EDT 2008
Any suggestions?
Ed