Skip to content

pseudobabble/crunch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

crunch

WORK IN PROGRESS

unit aware arithmetic

unit aware arithmetic calculations like:

a = (10[kilometers^2] + 30[meters^2]);
b = ((1[km^1] * 2[km^2]) / (3[m^1] - 4[m^1]));
c = (a + b);

The input is parsed and then evaluated.

How to run it

Currently cargo run will target the test.cr file

About

unit aware arithmetic expressions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published