File: README.md

package info (click to toggle)
cl-interpol 20180509.git1fd288d-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 456 kB
  • sloc: lisp: 868; perl: 34; makefile: 2
file content (27 lines) | stat: -rw-r--r-- 929 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--------------------------------------------------
CL-INTERPOL - String interpolation for Common Lisp
--------------------------------------------------

CL-INTERPOL is a library for Common Lisp which modifies the reader so
that you can have interpolation within strings similar to Perl or Unix Shell
scripts. It also provides various ways to insert arbitrary characters
into literal strings even if your editor/IDE doesn't support them.
Here's an example:

~~~lisp
(named-readtables:in-readtable :interpol-syntax)


(let ((a 42))
    #?"foo: \xC4\N{Latin capital letter U with diaeresis}\nbar: ${a}")
"foo: ÄÜ
bar: 42"
~~~

CL-INTERPOL comes with a [BSD-style
license](http://www.opensource.org/licenses/bsd-license.php) so you
can basically do with it whatever you want.

Complete documentation for CL-INTERPOL can be found in the `docs`
directory or at [the project documentation
site](http://edicl.github.io/cl-interpol/).