Skip to content

nerdinand/elm-qr-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elm-qr-code

Build Status

Eventually, this might become a QR-code generation library written in Elm.

I started this as a project to teach myself the wonderful Elm programming language. It's my first functional language (not counting Javascript), so the code might be awful.

Nevertheless, you're welcome to join me in my endeavour.

For information about the QR code standard, read the specification.

Implemented

  • Drawing of the function patterns of all versions (sizes) of QR codes in SVG format:
    • Position patterns (the big ones in the corners)
    • Alignment patterns (the smaller ones in the lower right corner and in between)
    • Timing patterns (the dotted lines between the other patterns)
  • Encoding modes
    • Numeric mode
  • Reed-Solomon error correction coding (see sub-project: https://github.com/nerdinand/elm-reed-solomon)

To do

  • Interleaving data and error correction data
  • Codeword placement
  • Masking
  • Adding Format and version information

Further to do

  • Other encoding modes
    • Alphanumeric mode
    • 8-bit byte mode
    • Kanji mode
    • ECI mode
  • Structured append (multi-part QR codes)

About

Eventually, this might become a QR-code generation library written in Elm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages