[racket] Re-usable C-like input syntax

From: Tom Schouten (tom at zwizwa.be)
Date: Tue May 21 15:52:51 EDT 2013

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<tom at zwizwa.be>  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 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 many times and was abandoned maybe just as much, but I am confronted with a practical issue in the target audience.  It's amazing how much friction a foreign syntax can cause in practical embedded/DSP engineering circles...
>>
>> 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 like Scheme at this point.
>>
>> A subset of JavaScript would maybe also be good enough.
>>
>> Cheers,
>> Tom
>>
>>
>>
>> ____________________
>> Racket Users list:
>> http://lists.racket-lang.org/users
>


Posted on the users mailing list.