Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (32 sloc) 1.31 KB

racket-raw-string

This is a modified version of with-raw-string library written by @jarnaldich.

This is an extension language on top of Racket that tunes the reader to add raw string syntax, so that you can write things like:

#lang raw-string racket #\$

(directory-list $"\\SERVER\Share")          ; list unc paths under windows
(directory-list $[c:\Program Files] )       ; use paring chars as delimiters
(regexp-split (pregexp $'\s') "two fields") ; -> '("two" "fields")

Installation

To install racket-raw-string with Racket 5.3.4 and newer:

raco pkg install racket-raw-string

On older versions of Racket (either you'll need Git or download the tarball and extract them manually):

git clone https://github.com/cmpitg/racket-raw-string.git
raco link racket-raw-string
raco setup racket-raw-string

Contributors

Special thanks to:

License

This library is distributed under the terms of the GNU General Public License v3.0 (GPLv3). See COPYING for further information.

Copyright 2014 (C) Duong Nguyen (@cmpitg)

Copyright 2011 (C) Joan Arnaldich (@jarnaldich)

You can’t perform that action at this time.