Files
2024-04-26 01:47:43 +00:00
..
2024-04-26 01:44:13 +00:00
2024-04-26 01:44:13 +00:00
2024-04-26 01:47:43 +00:00
2024-04-26 01:44:13 +00:00
2024-04-26 01:44:13 +00:00
2024-04-26 01:44:13 +00:00

## SML Anagram Detector
### Nicholas Pease

## Contents
/hw5 - Compiled code for the anagram detector
/hw5.sml - Source code for the anagram detector
/Makefile - Makefile for the anagram detector

## Usage
To compile the anagram detector, run `make` in the directory containing the Makefile. This will create an executable called `hw5`.

To execute, type ./hw5 and then enter the words you would like to check for anagrams. The program will output the anagrams in alphabetical order.

## Example inputs
Heart
Earth
Drive
Diver
Alert
Later
Listen
Silent
Pastel
Petals
Optics 
Topics
Partly
Raptly
Actor
Taroc
Creak
Rakec
Dome
Mode
Idea
Aide
Speared
Despair
Teach
Cheat 
Slate
Least
Stop
Post
Retreat
Treater 
Gear
Rage
Lover
Vlore
Tares
Stare
Opted
Depot
Vain
Vina
Rate
Tear
Detailed
Elated
Clasp
Scalp
Lasted
Salted

## Example output
Actor

Aide

Alert

Cheat

Clasp

Creak

Depot

Despair

Detailed

Diver
Drive

Dome

Earth

Elated

Gear

Heart

Idea

Lasted

Later

Least

Listen

Lover

Mode

Opted

Optics

Partly

Pastel
Petals

Post

Rage

Rakec

Raptly

Rate

Retreat

Salted

Scalp

Silent

Slate

Speared

Stare

Stop

Tares

Taroc

Teach

Tear

Topics

Treater

Vain
Vina

Vlore