Giter VIP home page Giter VIP logo

excel-engine-in-c's Introduction

Excel-Engine-in-C

Excel-engine

Table of Contents

About

Naive implementation of an excel engine in C.

Results

Input

A                | B      | C   | D 
9                | 2      | =C3 | 6
11               | 3      | 13  | =D1/B1
=((A1/B2)*A2)+B3 | =C1*D2 | 15  | 7

Output

Test 2 results available in assets folder

For more results, refer examples.

File Structure

👨‍💻Excel-Engine-in-C
 ┣ 📂assets                            // Contains all the reference gifs, images
 ┣ 📄main.c                            // Driver Code
 ┣ 📂examples                          // Contains all examples
   ┣ 📂test1                            
   ┃ ┣ 📄input.csv                     // Input CSV file  
   ┃ ┣ 📄README.md                     // Results and Conclusions
   ┣ 📂test2 
   ┣ 📂test3 
   ┣ 📂test4 
 ┣ 📄README.md                          

Project Workflow

Project Workflow can be found in assets

Getting Started

Prerequisites

To download and use this code, the minimum requirements are:

  • Ubuntu 20.04 or later
  • gcc or any other compiler

Installation

Clone the project by typing the following command in your Terminal/CommandPrompt

git clone https://github.com/PritK99/Excel-Engine-in-C.git

Navigate to the Excel-Engine-in-C folder

cd Excel-Engine-in-C

Usage

Once the requirements are satisfied, you can easily use the project on yout machine After following the above steps , use the following commands to:

To build the code

gcc main.c

To run the code Usage: ./a.out <path to input csv file

./a.out examples/test1/input.csv

Features

  • Works with Addition, Subtraction, Multiplication and Division Operators (refer examples/test2)
  • To evaluate complex expressions consisting of several operands and operators (refer examples/test4)
  • Able to solve nested expressions and dependencies (refer examples/test2)
  • Able to detect and report circular dependencies in expressions (refer examples/test3)

Contributors

Acknowledgements and References

License

MIT License

excel-engine-in-c's People

Contributors

pritk99 avatar

Stargazers

Santhosh Aditya  avatar

Watchers

 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.