Re: [racket] typed racket and new racket languages?

2011-06-16 Thread Richard Lawrence
Hi Raoul, > to what degree can one leverage typed racket for new languages in the > racket ecosystem? (You mean for *creating* new languages, right?) I'm actually in the middle of doing this right now. > tho i read that even if there are ways to use it, there be dragons in > terms of getting t

Re: [racket] typed racket and new racket languages?

2011-06-16 Thread Sam Tobin-Hochstadt
You can write your own language on top of Typed Racket quite easily. For example, in Matthias' recent post [1], if you change: #lang racket (define-syntax-rule (count-forms mexpr ...) (#%module-begin ---stuff---)) to #lang racket (require (prefix-in tr: typed/racket)) (define-syntax-rule

Re: [racket] proposal: mixin-lang?

2011-06-16 Thread Danny Yoo
> May I propose a somewhat more modest but more useful concrete goal? > It would be fantastic if we could create teaching languages via > the composition of language fragments. Some could be mixins, some > could be traits, some could be ... whatevers. Quick-and-dirty prototype done and posted on P

Re: [racket] proposal: mixin-lang?

2011-06-16 Thread Carl Eastlund
Danny's proposal is not that abstract. I think with one change (his "provide" in mixin-lang/mixin would need to be a new keyword) I could implement his specification as written. Carl Eastlund On Thu, Jun 16, 2011 at 4:35 PM, Matthias Felleisen wrote: > > > May I propose a somewhat more modest b

Re: [racket] proposal: mixin-lang?

2011-06-16 Thread Matthias Felleisen
May I propose a somewhat more modest but more useful concrete goal? It would be fantastic if we could create teaching languages via the composition of language fragments. Some could be mixins, some could be traits, some could be ... whatevers. (1) This would be a concrete goal instead of som

[racket] proposal: mixin-lang?

2011-06-16 Thread Danny Yoo
I have a crazy proposal, and wanted to run it by and see if it made any sense at all. The sketchy proposal is here: http://hashcollision.org/mixin-lang/ The basic idea is that I would like to be able to mix-in languages together, and make it stupidly simple to do so. From a hand-wavy look a

[racket] typed racket and new racket languages?

2011-06-16 Thread Raoul Duke
hi, to what degree can one leverage typed racket for new languages in the racket ecosystem? tho i read that even if there are ways to use it, there be dragons in terms of getting the new language just right wrt type enforcement. thanks. _ For list

[racket] RacketCon: Final Call for Presentations

2011-06-16 Thread Sam Tobin-Hochstadt
Calling All Racketeers! This is the third announcement of RacketCon: 23 & 24 July 2011 http://con.racket-lang.org/ We will continue accepting presentation proposals for RacketCon through *this weekend*. We hope to have a preliminary schedule out soon thereafter. To obt

Re: [racket] regexp-match-evt and file-position

2011-06-16 Thread Matthew Flatt
The `port-commit-peeked' function (used by `regexp-match-evt') was deeply broken with respect to `file-position' and `port-next-location'. I see no workaround for old versions, but the problem is now fixed in the current development version (in the git repo). At Sat, 11 Jun 2011 07:19:03 -0700, Ma

Re: [racket] make-limited-input-port and Port Events

2011-06-16 Thread Matthew Flatt
In the development version (in the git repo), I've changed `make-limited-input-port' to produce a port that supports progress events when the given port supports progress events. At Sun, 12 Jun 2011 02:55:38 +0100, Milo Arvidsson wrote: > > I'm getting contract violations when I use 'make-limited

Re: [racket] using scribble's evaluator for planet packages

2011-06-16 Thread Eli Barzilay
9 minutes ago, Robby Findler wrote: > Ah, I see. Makes sense. Thanks. [*sigh*... Meanwhile, I bit, and will do it anyway...] > On Wed, Jun 15, 2011 at 6:08 PM, Eli Barzilay wrote: > > An hour ago, Robby Findler wrote: > >> > >> This is not a good argument, if I'm understanding you correctly. I

Re: [racket] using scribble's evaluator for planet packages

2011-06-16 Thread Robby Findler
Ah, I see. Makes sense. Thanks. Robby On Wed, Jun 15, 2011 at 6:08 PM, Eli Barzilay wrote: > An hour ago, Robby Findler wrote: >> >> This is not a good argument, if I'm understanding you correctly. I >> think you're saying "it is too annoying to give a good error >> message" which is not a reaso

Re: [racket] planet-generated docs? (simply-scheme alpha release for 5.1.1)

2011-06-16 Thread Robby Findler
I believe you need to either rename your documentation file (to anything that doesn't begin with "doc") or use a more recent version of racket. Robby On Wed, Jun 15, 2011 at 11:24 PM, Danny Yoo wrote: > Hello!  I just uploaded a version of the Simply Scheme definitions > that should work under 5

Re: [racket] what this compile time error mean?

2011-06-16 Thread Sam Tobin-Hochstadt
On Thu, Jun 16, 2011 at 8:21 AM, Veer wrote: > Hello Sam, > > Choosing "No debugging or profiling" did the trick. > I assume that this error(now gone) is not specific to my system. It isn't specific to your system, but it might be hard to replicate. However, I think it will go away in a refactori

Re: [racket] what this compile time error mean?

2011-06-16 Thread Veer
Hello Sam, Choosing "No debugging or profiling" did the trick. I assume that this error(now gone) is not specific to my system. Thanks!!! a lot. Veer. On Thu, Jun 16, 2011 at 5:30 PM, Sam Tobin-Hochstadt wrote: > Try the following: > > 1. Open the "Choose Language" dialog, from the "Language

Re: [racket] what this compile time error mean?

2011-06-16 Thread Sam Tobin-Hochstadt
Try the following: 1. Open the "Choose Language" dialog, from the "Language" menu. 2. Click on "show details". 3. Then choose "No debugging or profiling", and maybe also uncheck the "Populate compiled directories" box. On Thu, Jun 16, 2011 at 5:08 AM, Veer wrote: > Ok , problem is still there ,

Re: [racket] what this compile time error mean?

2011-06-16 Thread Veer
Ok , problem is still there , I get the same error , on new ubuntu system 11.04 and newly downloaded racket 5.1.1 . Any other idea , on how to troubleshoot it ? On Tue, Jun 14, 2011 at 6:55 PM, Veer wrote: > Removing compiled directory also does not work , same error. > I am upgrading my syste