/File-Compressor-Using-Clojure-COMP6411

Text file compressor build on completely functional language clojure. | COMP6411 | Assignment - Comparative Study Of Programming Language.

Primary LanguageClojureMIT LicenseMIT

File-Compressor-using-clojure

Text file compressor build completely on functional language Clojure.
Assignment-02 COMP6411 - Comparative Study of Programming Languages @ Concordia University, Montreal.

Short Summary

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.

Prerequisites

Download clojure from here Clojure
Make sure all files (menu.clj, compress.clj) are in same directory.

Commands

Run this command to start program.

clj menu.clj

Option 1

Option 1 will Display all files in current directory.

Option 2

Option 2, will display file content.

Option 3

Option 3, will compress selected text file and create a separate compress (.ct) file.

Option 4

Option 4, will decompress selected compressed file and display decoded content on screen.