Giter Site home page Giter Site logo

codacy-badger / proper_calculator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arifbalik/proper_calculator

0.0 0.0 0.0 123 KB

This project aims to create a well documented open source scientific calculator with a highly portable math expression parser called Euler

License: GNU General Public License v3.0

Makefile 22.54% C 51.78% C++ 12.89% Yacc 12.80%

proper_calculator's Introduction

Proper Scientific Calculator

Build status

Codacy Badge

Introduction

This is an attempt to create a better, well documented, well designed open source mathematical expression parser and a scientific calculator.

There are very nice projects out there, we like to mention them below;

LIST.

But unfortunately they're not comprehensive enough neither that is their motivation.

This math engine (we will call it euler from now on) we implemented in this project is capable of doing basic arithmetic to very complex matrices and calculus operations. But since it is planned to put it in a microcontroller its not as powerful as wolfram's products or GNU Octave or Matlab etc. This project aims to make the most powerful math parser that can be fitted in a main stream microcontroller, such as STM32 MCUs.

Euler is designed to be standalone, portable, simple but yet powerful. It can run on anything that has an FPU (a version without FPU coming soon).

Euler uses re2c lexer and lemon parser generator for parsing, and implements some of GNU Scientific Library code. It uses C language and as long as it lasts it will continue to use C (nerd alert!)

Currently Supported Platforms

  • Linux
  • STM32F746NG

But one can easily implement their own architecture. For more details please refer to the Wiki Page.

Getting Started on Linux

To see the capabilities, euler can be run on most of the linux distributions with a simple make command.

First clone the repo to your machine.

$git clone https://github.com/arifbalik/proper_calculator.git

Then enter the directory and call make as follows;

$cd proper_calculator
$make clean && make ARCH=linux

After this command, euler welcome message will show up and program will wait for an input.

Syntax of euler and more on building and implementing a custom project can be found on the Wiki Page.

Contributors

  • Arif Balik

proper_calculator's People

Contributors

arifbalik avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.