ichimal / windows-path-reader

raw Windows path string into REPL directly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

windows-path-reader

This package just only define a syntax.

Using this syntax enables you to copy&paste Winodows path from address bar of Explorer into REPL directly.

Usage:

> (asdf:load-system :windows-path-reader)
> (syntax:use-syntax :windows-path-reader)

and then, type #"and paste raw Windows path string and type "

You can also use #n" form where

  • n = 0 or not specified
    => translate to a PATHNAME object;
  • n > 0
    => translate to a STRING object.

example:

> #"C:\Program Files"
#P"C:/Program Files"
> #0"C:\Program Files"
#P"C:/Program Files"
> #1"C:\Program Files"
"C:\\Program Files"
>

License:

MIT

About

raw Windows path string into REPL directly

License:Other


Languages

Language:Common Lisp 100.0%