Skip to content
QR Code encoding using Common Lisp.
Common Lisp
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
LICENSE.txt
README.md
lispqr.asd
load.lisp
mare5x-github.png

README.md

LispQR

QR Code encoding written in Common Lisp.

Usage

To write to PNG files, you will need to install zpng. If you load LispQR using lispqr.asd, all dependencies will get installed automatically:

(ql:quickload "lispqr")
;; Compile the files (lispqr.asd):
;; (ql:quickload "lispqr")

;; Change into the 'encode' package.
(in-package :mare5x.lispqr.encode)

;; Encode to a PNG image file.
(encode->image "https://github.com/mare5x" "test.png" :ec-level :H)

https://github.com/mare5x
(string: "https://github.com/mare5x", version: 4, error correction level: high, encoding mode: byte)

Portacle

Checklist to get up and running using Portacle.

  1. Install Portacle.
  2. Ctrl-X, Ctrl-F <path to repo/lispqr.asd>
  3. Focus the code buffer and press Ctrl-C, Ctrl-K to load the current file.
  4. (ql:quickload "lispqr") in the REPL.
  5. Now you are ready to tinker with LispQR.

References

Written based on QR standards "ISO/IEC 18004:2000" and "ISO/IEC 18004:2006".

Great additional resources:

You can’t perform that action at this time.