Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dannypsnl/formatted-string

Extends racket string to formatted string
https://github.com/dannypsnl/formatted-string

racket reader-macros

Last synced: about 1 month ago
JSON representation

Extends racket string to formatted string

Awesome Lists containing this project

README

        

formatted-string
================
[![Racket Test](https://github.com/dannypsnl/formatted-string/actions/workflows/racket-test.yml/badge.svg)](https://github.com/dannypsnl/formatted-string/actions/workflows/racket-test.yml)

The language extends racket string to formatted string, let's look at the following example.

```racket
#lang formatted-string racket/base

(define-values (x y z) (values 1 2 3))
"x = $x, y = $y, z = $z, (+ x y z) = $(+ x y z)"
```

To escape from this, write `"\$"` to get `"$"`!