Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An extension to the Racket language to add raw string syntax and get rid of double backslashes
Racket
branch: master

Merge pull request #2 from cmpitg/master

Renaming and publishing library as package for `raco pkg`
latest commit 12669a756a
@jarnaldich authored
Failed to load latest commit information.
raw-string/lang Add license
.gitignore Ignore compiled files
COPYING Add license
README.markdown Fix Markdown
info.rkt Add info.rkt

README.markdown

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 Rackjure 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

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)

Something went wrong with that request. Please try again.