Re: [racket] Re-usable C-like input syntax

2013-05-21 Thread Jon Rafkind
its in git and will appear in the official manual when the docs are useable (slowly but surely) On 05/21/2013 02:50 PM, Neil Van Dyke wrote: > Anyone know where Honu disappeared to? I don't see it in the current manual, > nor in PLaneT. > http://download.racket-lang.org/docs/5.1.3/html/honu/ >

Re: [racket] Re-usable C-like input syntax

2013-05-21 Thread Jon Rafkind
On 05/21/2013 02:45 PM, David Bremner wrote: > Tom Schouten writes: > >> Interesting, but I'm tied to Racket at this point. >> > I'd have a look at "Honu" by Jon Rafkind if you haven't seen it > already. It adds an algol like syntax on top of racket, > > It looks a bit javascriptish, I guess > >

Re: [racket] Re-usable C-like input syntax

2013-05-21 Thread Neil Van Dyke
Anyone know where Honu disappeared to? I don't see it in the current manual, nor in PLaneT. http://download.racket-lang.org/docs/5.1.3/html/honu/ BTW, the usual pattern is that someone will think Racket/Scheme/Lisp needs a C-like syntax, but after they actually start using parens for idiomati

Re: [racket] Re-usable C-like input syntax

2013-05-21 Thread David Bremner
Tom Schouten writes: > Interesting, but I'm tied to Racket at this point. > I'd have a look at "Honu" by Jon Rafkind if you haven't seen it already. It adds an algol like syntax on top of racket, It looks a bit javascriptish, I guess function quadratic(a, b, c) { var discriminant = sqr(b

Re: [racket] Re-usable C-like input syntax

2013-05-21 Thread Tom Schouten
Interesting, but I'm tied to Racket at this point. On 05/21/2013 03:35 PM, Marc Feeley wrote: If you are willing to switch Scheme implementations, you could use Gambit that has an infix syntax (SIX) which is a subset/superset of C. Marc On May 21, 2013, at 12:26 PM, Tom Schouten wrote: Hi

Re: [racket] Re-usable C-like input syntax

2013-05-21 Thread Hendrik Boom
On Tue, May 21, 2013 at 03:26:26PM -0400, Tom Schouten wrote: > > Is there anything re-usable out there in Racket land that looks like > C but with a simpler grammar or a simple map to s-expressions? The > language I'm implementing is purely functional / single assignment, > and looks pretty much

Re: [racket] Re-usable C-like input syntax

2013-05-21 Thread Sean McBeth
There are actually a couple of C language modes and a JavaScript one in Planet. On May 21, 2013 3:28 PM, "Tom Schouten" wrote: > Hi List, > > Checking if anyone has any ideas or advice on this. > > I'm writing a DSL for (music) DSP low-level algorithm design, and I'd like > to use some C-like syn

[racket] Re-usable C-like input syntax

2013-05-21 Thread Tom Schouten
Hi List, Checking if anyone has any ideas or advice on this. I'm writing a DSL for (music) DSP low-level algorithm design, and I'd like to use some C-like syntax front on top of the default s-expr input to avoid having to confront people with Scheme. I realize this approach has been tried ma