# A language and REPL for SRFI 105 "curly infix"

**URL:** <https://racket.discourse.group/t/a-language-and-repl-for-srfi-105-curly-infix/501>\
**Category:** Show & Tell\
**Created:** [December 30, 2021, 10:57pm UTC](https://racket.discourse.group/t/a-language-and-repl-for-srfi-105-curly-infix/501 "2021-12-30T22:57:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![damien\_mattei](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/damien_mattei/32/2706_2.png) [@damien\_mattei](https://racket.discourse.group/u/damien_mattei)\
**Post date:** [December 30, 2021, 10:57pm UTC](https://racket.discourse.group/t/a-language-and-repl-for-srfi-105-curly-infix/501/1 "2021-12-30T22:57:52Z")

</div>

Hi,

i adapted a #lang and REPL for SRFI 105:  
[https://github.com/damien-mattei/library-FunctProg/blob/master/racket/SRFI-105.rkt](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](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:

```scheme
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
