# Hp41cx\_tool 1.7.0 Release Announcement

**URL:** https://forum.ada-lang.io/t/hp41cx-tool-1-7-0-release-announcement/3804
**Category:** Releases
**Tags:** ada, regexp, aunit, alire
**Created:** [September 6, 2025, 6:22pm UTC](https://forum.ada-lang.io/t/hp41cx-tool-1-7-0-release-announcement/3804 "2025-09-06T18:22:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![krischik](https://forum.ada-lang.io/user_avatar/forum.ada-lang.io/krischik/32/420_2.png) [@krischik](https://forum.ada-lang.io/u/krischik)
#### Post date: [September 6, 2025, 6:22pm UTC](https://forum.ada-lang.io/t/hp41cx-tool-1-7-0-release-announcement/3804/1 "2025-09-06T18:22:50Z")

</div>

# hp41cx\_tools: Showcasing Ada 2022 and AdaCL with Wide\_Character Power

New release of `hp41cx_tools` crate, a cross-platform suite for decoding and converting HP-41CX emulator FOCAL code, demonstrating the strength of **Ada 2022** and the `AdaCL` library. Available on [Alire](https://alire.ada.dev/crates/hp41cx_tools), this project runs on macOS, Linux, and Windows, and is a stellar showcase for `AdaCL`’s `Wide_Character` support.

## Why It’s a Great Ada Showcase

- **AdaCL with Wide\_Character** : Leverages `AdaCL.Wide_Strings.Regexp` and `AdaCL.Wide_Strings.Spitbol.Patterns` for context-sensitive conversions of special characters (e.g., `Σ`, `↑`, `≠`) in FOCAL code. The `adacl-regex` crate’s `Wide_Character` support ensures precise handling of Unicode, surpassing standard regex for ALPHA strings and commands.
- **Robust AUnit Testing** : Comprehensive unit tests, executed via `make test`, ensure rock-solid reliability, covering decoding and conversion edge cases.
- **Ada 2022 Power** : Built with modern Ada features for maintainable, high-performance code, handling `.px41` and `.dm41` memory dumps and conversions to `.utf8.focal`, `.dm41.focal`, and `.px41.focal` formats.

## Features

- **Decode** : Transform HP-41CX emulator hex dumps into FOCAL source code with automatic input detection.
- **Convert** : Seamlessly convert between Unicode, DM41, and PX-41CX FOCAL formats, handling quote styles and XROM key assignments.
- **Pipe-Friendly** : Four converters use stdin/stdout for scripting ease.

_ **Note** _\*\*:\*\* Encoding is planned for a future release.

Explore the code on [SourceForge](https://sourceforge.net/p/calculator-scripts/code/ci/master/tree/Tools/hp41cx_tools/src/) and try it via [Alire](https://alire.ada.dev/crates/hp41cx_tools). Join the retro computing revolution and see the `adacl-regex` crate’s `Wide_Character` magic in action!
