← Back to Projects Page
Elm Graphing Calculator
In a Team of 2
2016
Technologies
•Elm
An interactive graphing calculator written in Elm. This was a class project meant to serve as practice for functional programming. I built the frontend and parts of the backend, working in a team of 2. Using functional programming with Elm to draw the interface was a learning exercise; no CSS was used in the project.
Related Links
Project Images

Project Details
- A custom recursive parsing system that respects parentheses and the order of operations
- Binary arithmetic operators are supported: +, -, *, / , ^
- Graph mode toggle: when the "y=" string is shown in the INPUT panel, graph mode is toggled on; this means that the string in the INPUT panel will be graphed. Graph mode can either be toggled using the "y=" button or by including the variable x in the INPUT string.
- A range interval is shown below the button layout; the buttons to either side either zoom in or zoom out on the displayed graph. We cap the maximum range at (-17,17); we cap the minimum range at (-1,1).