View on GitHub


xFunc is a simple and easy to use application that allows you to build mathematical and logical expressions. It's written on C#. This project consists two libraries and an execution file. The libraries include the code that converts strings to expressions.

Download this project as a .zip file Download this project as a tar.gz file

Master: Build status Coverage Status
Dev: Build status Coverage Status


xFunc is a simple and easy to use application that allows you to build mathematical and logical expressions. It’s written on C#. The library includes well-documented code that allows developers to parse strings to expression tree, to analyze (derivate, simplify) expressions by using lexer, parser and etc. Also, developers can easily extend the library by own lexer, parser, analyzer, token, expression implementations.

xFunc is a small-sized and portable application that you can use to create complex mathematical expressions which will be automatically computed. It can be used by teachers and students alike.

Since installation is not a prerequisite, you can drop the program files somewhere on the hard drive and just click the executable to run.

It is also possible to save xFunc to a USB flash disk or similar storage unit, in order to run it on any machine with minimum effort and without prior installers.

An important aspect to take into account is that the Windows registry does not get updated with new entries, and files are not left behind on the hard disk after removing the utility.

The interface is based on a user-friendly window with a clean aspect, where you can use standard, trigonometric, hyperbolic, bitwise, constants, numbers and arithmetic, along with additional tools to write expressions. Furthermore, you can create logic expressions, graphs and truth tables.

Expressions and answers can be copied to the Clipboard or input. It is possible to undo and redo your actions, select the answer base (e.g. binary, decimal, hexadecimal), add variables and functions, as well as clear the expression list.

As far as settings are concerned, you can ask the tool to remember the last window state and position, right toolbar state, number base and angle measurement, as well as specify the maximum number of expressions.

xFunc uses a pretty low amount of CPU and RAM, so it does not put a strain on computer performance or disrupt normal user activity. We have not come across any issues throughout our evaluation, since the tool did not hang, crash or pop up error dialogs.

All in all, xFunc comes packed with resourceful options dedicated to computing mathematical expressions, and it should please everyone.


Bug Tracker

Please, if you have a bug or a feature request, create a new issue. Before creating any issue, please search for existing issues.


xFunc is released under Apache 2.0 License.