Skip to content

A programmable calculator built with OCaml, featuring an interactive REPL and graphing capabilities powered by gnuplot.

Notifications You must be signed in to change notification settings

bkhalil3/GraphCalcML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphCalcML: A Programmable Calculator in OCaml

GraphCalcML is a powerful and programmable calculator built using OCaml. It includes advanced operations and graphing capabilities through gnuplot.


Features

  • Interactive REPL for programmable calculations.
  • Graphing capabilities powered by gnuplot.
  • Optimized for Unix-based systems.

Prerequisites

Before using GraphCalcML, ensure the following are installed on your system:

  • OCaml (available via OCaml's official site or your package manager).
  • gnuplot (for graphing functionalities).

Installation

  1. Clone this repository:
    git clone <repository-url>
    
  2. Navigate to the project directory:
    cd <repository-directory>
    
  3. Build the project:
    make build
    
  4. (Optional) Clean up existing bytecode if necessary:
    rm main.byte
    
  5. Install gnuplot (if not already installed):
  • Ubuntu/Debian:
    sudo apt-get install gnuplot
    
  • macOS:
    brew install gnuplot
    
    

Usage

  1. Run the calculator:

    make calc
    
  2. Access the REPL: Once the calculator is running, you can type commands in the REPL.

  3. Get help: Enter help in the REPL to view all supported operations and commands.

Contributing

We welcome contributions! To get started:

  1. Fork this repository.
  2. Create a new branch for your feature or bug fix.
  3. Commit your changes and push them to your fork.
  4. Open a pull request.

About

A programmable calculator built with OCaml, featuring an interactive REPL and graphing capabilities powered by gnuplot.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published