Skip to content

Simple Excel engine without any UI

License

Notifications You must be signed in to change notification settings

pasterdeucris/minicel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minicel

The idea is to implement a batch program that can accept a CSV file that looks like this:

A      | B
1      | 2
3      | 4
=A1+B1 | =A2+B2

And outputs:

A      | B
1      | 2
3      | 4
3      | 7

Basically a simple Excel engine without any UI.

Quick Start

The project is using nobuild build system.

$ cc -o nobuild nobuild.c
$ ./nobuild
$ ./minicel csv/sum.csv

Syntax

Types of Cells

Type Description Examples
Text Just a human readiable text. A, B, C, etc
Number Anything that can be parsed as a double by strtod 1, 2.0, 1e-6, etc
Expression Always starts with =. Excel style math expression that involves numbers and other cells. =A1+B1, =69+420, =A1+69 etc
Clone Always starts with :. Clones a neighbor cell in a particular direction denoted by characters <, >, v, ^. :<, :>, :v, :^

About

Simple Excel engine without any UI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%