https://pkgs.racket-lang.org/package/sweet-exp
It implements curly infix along with other syntax enhancements.

Your example works with it (#lang sweet-exp racket) as is.

пятница, 31 декабря 2021 г. в 15:42:36 UTC+5, [email protected]: 

> Hi,
>
> i adapted a #lang and REPL for SRFI 105:
>
> https://github.com/damien-mattei/library-FunctProg/blob/master/racket/SRFI-105.rkt
> a simple example can be found here:
>
> https://github.com/damien-mattei/library-FunctProg/blob/master/racket/examples-curly-infix.rkt
> The two files must be in the same directory.
> any files using curly infix notation must begin with:
> #lang reader "SRFI-105.rkt"
>
> example at REPL:
> Welcome to DrRacket, version 8.2 [cs].
> Language: reader "SRFI-105.rkt", with debugging; memory limit: 128 MB. 
> > (define a 2)
> > (define b -3) 
> > (define c 5) 
> > {{b expt 2} - {4 * a * c}} -31 
>
> Any advice about other enhancements or other way to implement a REPL or 
> language for SRFI 105 "curly infix" with Racket are welcome.
>
> Regards,
>
> Damien
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/6ccb876e-4aa2-4933-b17c-a006277d83b3n%40googlegroups.com.

Reply via email to