Text file compressor build completely on functional language Clojure.
Assignment-02 COMP6411 - Comparative Study of Programming Languages @ Concordia University, Montreal.
This file compressor can compress all ASCII characters text file and saves upto 30% storage. Frequency.txt file has 10,000 most using english words. This program simply map word occurance position from frequency.txt file and replace words with digits.
Download clojure from here Clojure
Make sure all files (menu.clj, compress.clj) are in same directory.
Run this command to start program.
clj menu.clj
Option 1 will Display all files in current directory.
Option 2, will display file content.
Option 3, will compress selected text file and create a separate compress (.ct) file.
Option 4, will decompress selected compressed file and display decoded content on screen.