Skip to content

roryokane/CalcuDoc

Repository files navigation

CalcuDoc

A free clone of Soulver, built on the Frink programming language.

Main window with sample calculations

This program is a calculator that shows all your calculations in a text document. Its main advantage over traditional calculators is that you don’t have to explicitly ask for the answer – it is calculated as you type. What’s more, calculations are performed using the powerful Frink calculation and programming language, which is free to include as a library in other programs. Frink allows calculations to easily keep track of units and prevent you from making conversion errors, comes with built-in constants, and even contains programming constructs like loops and defining your own functions for advanced users.

For more information, see the About CalcuDoc wiki page, which was written as my final report for the class I wrote this program for, CS 388 Graphical User Interfaces. You can also watch a 1-minute video demonstration on YouTube.

Compiling and running

This Java program was written using the free IntelliJ IDEA IDE. It compiles and runs successfully from within the IDE.

I also exported this project as an Eclipse project, so it will theoretically work in Eclipse too.

It uses Gradle as its build system. The included gradlew wrapper will install Gradle if necessary to build the program.

The Frink language is included as a JAR file library in the libs folder and needs no special installation.

Program features

The main window is fully functional. The calculator supports every feature of the Frink programming language. And it updates the results live as you type.

Note that calculations happen in a separate thread from the UI thread, so you can type as fast as you want without having to wait for the results to appear between keystrokes.

Missing features

None of the menu items are currently functional. For example, I did not implement saving and loading of files; you must copy and paste calculations into a text file yourself.

The calculator interface does not account for results that take up more than one line (error messages). These cause later results to be out of alignment with their calculation lines.

About

Advanced calculator desktop app in Java. Soulver/InstaCalc meets the Frink language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages