No description
Find a file
2025-08-24 12:33:21 +02:00
.pub-cache feat: add formula data classes with strict JSON parsing 2025-08-21 17:15:00 +02:00
bin VariableSpec includes var name 2025-08-24 11:52:34 +02:00
example main not present in d4rt_code in formula 2025-08-24 12:08:10 +02:00
lib dart Set literals instead of json 2025-08-24 12:33:21 +02:00
test dart Set literals instead of json 2025-08-24 12:33:21 +02:00
.gitignore Tests passing, all formulas validated 2025-08-22 17:47:06 +02:00
analysis_options.yaml Exclude files of warp jail, add some other files 2025-08-21 16:14:36 +02:00
CLAUDE.md Added guidelines for agents from https://www.dzombak.com/blog/2025/08/getting-good-results-from-claude-code/ 2025-08-21 16:47:21 +02:00
firejail-warp-terminal.profile Exclude files of warp jail, add some other files 2025-08-21 16:14:36 +02:00
pubspec.lock Exclude files of warp jail, add some other files 2025-08-21 16:14:36 +02:00
pubspec.yaml Exclude files of warp jail, add some other files 2025-08-21 16:14:36 +02:00
README.md VariableSpec includes var name 2025-08-24 11:52:34 +02:00
warp-terminal.sh Exclude files of warp jail, add some other files 2025-08-21 16:14:36 +02:00

Math Formulae Manager

A comprehensive command-line application for managing and computing mathematical formulas across various disciplines including mathematics, physics, medicine, and engineering.

This project uses dart language, and flutter framework. It leverages d4rt library to execute formulas.

Development guidelines

If you are a contributor or an agent, please follow CLAUDE.md for development guidelines.

Formula file description

The file is a json array of formulas.

[
    {
        "name": "Newton's second law (scalar)",
        "input": {
            "m" : {
               "magnitude": "mass"
            },
            "a" : {
               "magnitude": "acceleration"
            }
        },
        "output": {
            "F" : {
                "magnitude" : "Force"
            }
        },
        "d4rt_code": "return m*a;"
        
    }

]

Features

Formula Search and Computation

  • Search through a vast collection of formulas from multiple domains:
    • Mathematics
    • Physics
    • Medical sciences
    • Engineering
    • And more!
  • Input values for formula variables
  • Get computed results with proper units

Unit Management

  • Each data value includes its magnitude and unit
  • Convert between different units seamlessly
  • Automatic unit validation and conversion

Formula Editor

  • Built-in formula editor using the d4rt interpreter
  • Create and modify formulas with ease
  • Syntax highlighting and validation

Formula Sharing

  • Share formulas with other users
  • Import formulas from the community
  • Collaborative formula database

Rich Formula Documentation

Each formula includes:

  • The formula itself - Mathematical expression
  • Explanation - Detailed description in Markdown format
  • Images - Visual diagrams, graphs, or illustrations
  • Examples - Sample calculations and use cases

Project Structure

  • bin/ - Main executable and entry point
  • lib/ - Core library code and formula engine
  • test/ - Unit tests and formula validation tests

Getting Started

[Installation and usage instructions to be added]

Contributing

[Contribution guidelines to be added]