Re: [racket-dev] internal-definition parsing

2010-10-13 Thread Carl Eastlund
On Wed, Jul 7, 2010 at 12:23 PM, Matthew Flatt mfl...@cs.utah.edu wrote: Should an expression be required at the end? A `module', `unit', or `class' body can consist of just definitions. Similarly, if an internal-definition context ends with a definition, we could define the result to be

Re: [racket-dev] Problem with threads in Racket C API?

2010-10-13 Thread Matthew Flatt
At Tue, 12 Oct 2010 21:17:45 -0700, Justin Phillips wrote: I have a function that gets called by OS X's CoreMIDI framework. This function adds some data to a queue. I have registered the queue and the function with scheme_add_evt and scheme_add_evt_through_sema and even explicitly tried to

Re: [racket-dev] internal-definition parsing

2010-10-13 Thread Matthew Flatt
At Wed, 13 Oct 2010 08:23:09 -0400, Carl Eastlund wrote: On Wed, Jul 7, 2010 at 12:23 PM, Matthew Flatt mfl...@cs.utah.edu wrote: Should an expression be required at the end? A `module', `unit', or `class' body can consist of just definitions. Similarly, if an internal-definition context

Re: [racket-dev] internal-definition parsing

2010-10-13 Thread Matthias Felleisen
In a sense you just want to change the 'fault blame' designation when e/d ... moves from macro foo to macro bar so that bar isn't blamed. It is then foo's job to ensure that the sequence isn't empty and foo is blamed when things go wrong. I suspect this can be solved in syntax-parse, too.

Re: [racket-dev] internal-definition parsing

2010-10-13 Thread Carl Eastlund
In the case I have, though, I want the sequence to be empty. The problem is that these bodies -- (let () ...), (parameterize () ...), etc. -- are used for a lot of different things. A macro may splice in a sequence that is intended to represent definitions to bind in a scope, expressions to

Re: [racket-dev] Compile Error (Everett Morse)

2010-10-13 Thread Everett Morse
On Oct 12, 2010, at 9:23 PM, Matthew Flatt wrote: The old error was a problem with inline assembly that would show up when gcc optimization is disabled. (Why was -O2 disabled for your build?) I fixed that problem a few days ago, though I didn't make the connection to your earlier post.

Re: [racket-dev] internal-definition parsing

2010-10-13 Thread Joe Marshall
On Wed, Oct 13, 2010 at 7:08 AM, Carl Eastlund c...@ccs.neu.edu wrote: In the case I have, though, I want the sequence to be empty.  The problem is that these bodies -- (let () ...), (parameterize () ...), etc. -- are used for a lot of different things.  A macro may splice in a sequence that

Re: [racket-dev] Problem with threads in Racket C API?

2010-10-13 Thread Justin Phillips
Bingo thank you so much. -Justin On Wed, Oct 13, 2010 at 5:32 AM, Matthew Flatt mfl...@cs.utah.edu wrote: At Tue, 12 Oct 2010 21:17:45 -0700, Justin Phillips wrote: I have a function that gets called by OS X's CoreMIDI framework. This function adds some data to a queue. I have registered

Re: [racket-dev] Racket runs on 64-bit ubuntu, right?

2010-10-13 Thread John Clements
On Oct 7, 2010, at 4:45 PM, Matthew Flatt wrote: At Thu, 7 Oct 2010 16:23:33 -0700, John Clements wrote: Here's the student's backtrace. And yes, I now see that it *does* look like the font issue that Matthew mentioned. Actually, this looks more like an OpenGL issue. I don't have any