Skip to content

mare5x/LispQR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)  ;; (in-package :lispqr)

;; 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:

About

QR Code encoding using Common Lisp.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published