All Projects → sagebind → mathpad

sagebind / mathpad

Licence: MIT license
Interactive scratchpad calculator for VS Code

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to mathpad

cpc
Text calculator with support for units and conversion
Stars: ✭ 89 (+345%)
Mutual labels:  calculator
meval-rs
Math expression parser and evaluation library for Rust
Stars: ✭ 118 (+490%)
Mutual labels:  math-expressions
vue-generator-graph
🌌 An extension which will create a graph of a vuejs app by statically analyzing imports and auto imported components
Stars: ✭ 59 (+195%)
Mutual labels:  visual-studio-code
bazel-stack-vscode
VSCode Extension for Bazel
Stars: ✭ 50 (+150%)
Mutual labels:  visual-studio-code
Calcu
CALCULADORAS
Stars: ✭ 22 (+10%)
Mutual labels:  calculator
netcalc
Advanced network calculator and address planning helper
Stars: ✭ 20 (+0%)
Mutual labels:  calculator
calculator-reactjs
Simple Calculator app created with React.js
Stars: ✭ 25 (+25%)
Mutual labels:  calculator
CornerstoneSDK
面向现代 C++ 的小栗子框架插件开发工具(停止更新,仅支持小栗子v2)
Stars: ✭ 37 (+85%)
Mutual labels:  visual-studio-code
WarpPI
WarpPI Calculator, Step-by-step algebra calculator for Raspberry Pi. (abandoned project)
Stars: ✭ 93 (+365%)
Mutual labels:  calculator
caeroc
☴🖩 Compressible Aerodynamics Calculator for Python
Stars: ✭ 25 (+25%)
Mutual labels:  calculator
vscode-icons-manager--electron
Manage vscode icons by Dhanish Gajjar easy with ease
Stars: ✭ 22 (+10%)
Mutual labels:  visual-studio-code
kalker
Kalker/kalk is a calculator with math syntax that supports user-defined variables and functions, complex numbers, and estimation of derivatives and integrals
Stars: ✭ 1,237 (+6085%)
Mutual labels:  calculator
ctagsx
VSCode ctags implementation that actually works
Stars: ✭ 24 (+20%)
Mutual labels:  visual-studio-code
MathImprove
Modify and Improve math expressions.
Stars: ✭ 13 (-35%)
Mutual labels:  math-expressions
vscode-testcafe
This extension allows you to run TestCafe tests directly from VS Code
Stars: ✭ 48 (+140%)
Mutual labels:  visual-studio-code
vscode-whats-new
VS Code submodule for a What's New page
Stars: ✭ 26 (+30%)
Mutual labels:  visual-studio-code
bc
some useful math functions for linux calculator bc
Stars: ✭ 18 (-10%)
Mutual labels:  calculator
attribute-depends-calculator
Automatically calculate a collection of depends attribute of ActiveRecord
Stars: ✭ 41 (+105%)
Mutual labels:  calculator
vscode-gcode-syntax
G Code Language Extension for Visual Studio Code. Turn VSCode into a fully capable G-Code editor, including language support & more.
Stars: ✭ 59 (+195%)
Mutual labels:  visual-studio-code
Kelvin
A powerful language for symbolic computation written in Swift.
Stars: ✭ 23 (+15%)
Mutual labels:  calculator

Mathpad

Mathpad is a small extension for Visual Studio Code that turns a Markdown editor into an interactive scratchpad calculator.

License Visual Studio Marketplace Version Visual Studio Marketplace Installs GitHub Workflow Status

I created this because I couldn't find a good notebook calculator that I liked that

  • is free and open source,
  • supports all the platforms I care about,
  • works completely offline,
  • supports variables and functions,
  • allows you to edit anywhere (as opposed to REPL style),
  • and works in and saves as plain text.

I already have Visual Studio Code installed on all my computers and use it for lots of text editing purposes, so I decided to make it also my calculator using this extension.

Features

  • Math expressions on their own line inside a Markdown editor are evaluated automatically and their results are displayed in grey at the end of the line.
  • Variables can be defined on their own line like x = 42 and referenced on any line below it.
  • Functions can be defined on their own line like f(x) = 42 / x and referenced on any line below it.
  • Changing a variable or function definition will automatically re-evaluate everywhere it is used in the rest of the document.

Much more is available as math expressions, which are powered by Math.js. Check out the Math.js documentation for even more examples of what sorts of expressions can be evaluated.

Future ideas

There's a lot more neat ideas that could be implemented, including:

  • Defining our own language/editor type with dedicated math syntax highlighting.
  • Evaluating expressions embedded in normal text.
  • Replacing an expression with its result.

License

This project's source code and documentation is licensed under the MIT license. See the LICENSE file for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].