I made scheme to (readable) c++11 translator
http://www.suri.cs.okayama-u.ac.jp/servlets/APPLICATION.rkt
You can use this from shell command line
http://www.suri.cs.okayama-u.ac.jp/~niitsuma/scm2cpp/scm2cpp-commandline.tar.gz
usage
$ racket -t scm2c.typ sample.scm
There are still s
On Sun, Oct 23, 2011 at 23:29, Jens Axel Søgaard wrote:
> Would it make sense for let-values to support the following?
> (let-values loop ([(first next) (sequence-generate* '(a b c))])
> (when first
> (display first) (newline)
> (call-with-values next loop)))
I wished for this feature
Hi all,
I'm wondering if there's a concise, informal, mostly complete list of
R5RSisms that won't work in Racket (#lang racket). As I'm porting
some old teaching materials to Racket, I've come across:
* Cannot write (if e1 e2); replace with (when e1 e2) or (and e1 e2)
* Cannot write (); replace
Robby,
The solution you gave works with what I want to do. Thanks!
The only issue is that the rest of the codebase is already assuming that the
values are stored using parameterize, so I need to change all those points
to use with-continuation-mark in addition to parameterize.
Is there any way t
On Oct 25, 2011, at 11:52 AM, Dan Grossman wrote:
> Hi all,
>
> I'm wondering if there's a concise, informal, mostly complete list of
> R5RSisms that won't work in Racket (#lang racket). As I'm porting
> some old teaching materials to Racket, I've come across:
>
> * Cannot write (if e1 e2); re
On Sun, Oct 23, 2011 at 1:39 PM, Sam Tobin-Hochstadt wrote:
>
> Yes, I have planned to do this for a while. Probably the form it will
> take will be a macro that always produces a type error when checked,
> rather than a new type. Then macros could use this form to ensure
> exhaustiveness.
This
If you are willing to change the existing uses of parameterize, then you
could use a macro to introduce a continuation mark along with the parameter
setting. Would that work?
Robby
On Tuesday, October 25, 2011, Ismael Figueroa Palet
wrote:
> Robby,
>
> The solution you gave works with what I wan
I think it would work, more or less. However, I think that if "someone"
change the parameter only and not update the continuation mark (either by
mistake, malice, or other reasons), things would not work. That is why I
suggested that this fictiocious mechanism needs to keep track of the changes
and
Hi all,
I thought it was neat to see someone submit a Firmata library to the Planet.
http://planet.racket-lang.org/display.ss?package=firmata.plt&owner=xtofs
That said, it contains nothing whatsoever about a license. I can't
remember: does the package metadata have an explicit license field?
Sho
I try to put a license file and appropriate statements in the documentation
and code for all of my PLaneT packages. [Remember that the license for the
code may be different that that for the documentation.] I've almost
certainly missed doing that sometimes.
So, I think it would be good to make it
10 matches
Mail list logo