Skip to content

iluvpy/mathc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

223 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

math-interpreter

a fun little math project for interpretation and compilation of math expression, its pretty buggy. i will most likely rewrite it one day, since i dislike the code base and structure

dependencies

  • ninja
  • a C compiler (clang in my case but any would do)

compilation

install the used compiler and ninja (see dependencies) and then just run ninja in the main dir you can also change the $cc variable in the build file to a compiler you like (needs to support C11)

Usage

type in ./mathc in the console after compiling

then something looking like a console should pop up where you can start typing your math expressions and commands

Commands

  • cls - to clear the console
  • h - to open up the help menu
  • q - to quit

Syntax

  • operators you can use + - * / ^

About

a math interpreter written in C

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages