Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
gl and glut
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Eduardo Cavazos  
View profile  
 More options Mar 10, 12:27 am
From: Eduardo Cavazos <wayo.cava...@gmail.com>
Date: Mon, 09 Mar 2009 23:27:07 -0500
Local: Tues, Mar 10 2009 12:27 am
Subject: gl and glut
Hello,

I noticed that gl and glut libraries were added to Jazz recently. Very nice!

Is it possible to "load" them into a Jazz repl interactively? I.e.

~ # jazz
JazzScheme v2.1.3 beta

 > (... type something here to load gl)

Ed


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guillaume Cartier  
View profile  
 More options Mar 10, 2:46 pm
From: Guillaume Cartier <gcart...@jazzscheme.org>
Date: Tue, 10 Mar 2009 14:46:39 -0400
Local: Tues, Mar 10 2009 2:46 pm
Subject: Re: gl and glut

On Tue, Mar 10, 2009 at 12:27 AM, Eduardo Cavazos <wayo.cava...@gmail.com>wrote:

> Hello,

> I noticed that gl and glut libraries were added to Jazz recently. Very
> nice!

> Is it possible to "load" them into a Jazz repl interactively? I.e.

> ~ # jazz
> JazzScheme v2.1.3 beta

>  > (... type something here to load gl)

That feature was in fact added a couple weeks ago! See the message: "Library
require / import / export now special forms" for details.
With it, you can now enter the following at the console to get access to
opengl functionality:

(import (jazz.graphic.opengl))

Guillaume


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eduardo Cavazos  
View profile  
 More options Mar 10, 3:34 pm
From: Eduardo Cavazos <wayo.cava...@gmail.com>
Date: Tue, 10 Mar 2009 14:34:32 -0500
Local: Tues, Mar 10 2009 3:34 pm
Subject: Re: gl and glut

>> I noticed that gl and glut libraries were added to Jazz recently. Very
>> nice!

>> Is it possible to "load" them into a Jazz repl interactively? I.e.

>> ~ # jazz
>> JazzScheme v2.1.3 beta

>>  > (... type something here to load gl)
Guillaume Cartier wrote:
> That feature was in fact added a couple weeks ago! See the message: "Library
> require / import / export now special forms" for details.

Looks good!

> With it, you can now enter the following at the console to get access to
> opengl functionality:

> (import (jazz.graphic.opengl))

Hmmm, is there a way to get this to work at a jazz repl started at a
shell? I get an error when I try that:

~ # jazz
JazzScheme v2.1.3 beta

 > (import (jazz.graphic.opengl))
*** ERROR IN (console)@1.2 -- Unbound variable: import
1>

Ed


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Guillaume Cartier  
View profile  
 More options Mar 10, 4:15 pm
From: Guillaume Cartier <gcart...@jazzscheme.org>
Date: Tue, 10 Mar 2009 16:15:12 -0400
Local: Tues, Mar 10 2009 4:15 pm
Subject: Re: gl and glut

On Tue, Mar 10, 2009 at 3:34 PM, Eduardo Cavazos <wayo.cava...@gmail.com>wrote:

There is no such thing as "a jazz repl started at a shell". When you run
jazz.exe you are running a Gambit repl exactly as if you had started gsi but
with some code already loaded to implement the Jazz module system. That is
why it doesn't understand the Jazz language.

For (import (jazz.graphic.opengl)) to work, you have to use the Jedi repl.
Note that creating a minimal app that would be just a single window with a
Jazz repl in it for new comers to do quick experiments would be a nice
project.

Guillaume


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google