Skip to content
All projects

Morse Code Translator

A command-line Morse code encoder and decoder built with Scala.

Published
Stack
  • Scala
  • Scala CLI
  • MUnit
Live at
github.com
Preview

A command-line Morse code encoder and decoder written in Scala, powered by Scala CLI. Supports encoding plain text to Morse code and decoding Morse back to text.

Features

  • Encode — Convert plain text to Morse code
  • Decode — Convert Morse code back to plain text
  • File Mode — Process entire text files in one command
  • Interactive Mode — Quickly encode/decode directly in the terminal
  • Flexible Separators — Supports /, |, and multiple spaces as word boundaries when decoding
  • Unknown Character Handling — Unrecognized characters are wrapped as [char?] instead of crashing

Tech Stack

  • Scala
  • Scala CLI
  • MUnit (testing)