antonbergaker / doodledigits Goto Github PK
View Code? Open in Web Editor NEWAn inline calculator where you write equations into a large textbox and the answers are given to you as you type
License: MIT License
An inline calculator where you write equations into a large textbox and the answers are given to you as you type
License: MIT License
Example syntax:
f(x) = x + 5
f(5)
= 10
Annoying bit is not colliding with existing syntax of f times x equals something.
Since
f = 5
x = 1
f(x) = x+4
-> true
I'm thinking it's parsed as a function in the AST and if the function name is defined already the calculate function will run multiplication instead.
A settings page for the calculator.
Example settings:
I would like degree mode because radians are confusing.
There's a lot of behavior inside the app which is not explained anywhere. Users are unlikely to discover these by guessing, such as the keywords for bitwise operators.
It'd be good to have some sort of lexicon with all kinds of operations and functions along with a short description.
Allow calculations with vectors.
Declaring a 1d vector:
vec = [0, 1]
Declaring a 2d vector:
vec = [ [0, 1], [2, 3] ]
etc.
Probably wont support any operators with them other than obvious ones. Adding norm (||) would clash with boolean or. (although technically since one is unary we can work out the order)
(might revisit it then)
Support for i, and all the wonderful expanded function declarations that entails.
make an option for the window to always be on top plz or jacob will cry
Right now, hex and binary literals are parsed, but doing anything with them will make the result in decimal notation. It should stay in the same format it started. Also there should be a way to move between presentations. I suggest using the keywords as/in like this:
25 in hex = 0x1B
25 - 1 as hex = 0x1A
0xB in decimal = 11
0xBA = 0xBA
4 in binary = 0b100
Maybe with spplt?
A toggle between a light and dark mode would be nice.
Let me explain things to me, myself, or friends through text inside the application. It should also have a nice color. :-)
You'd presumably start a comment with a symbol not used in math. But //
should be fine I guess. Otherwise, ;
, #
or maybe \
.
This could be controlled by doing ctrl + and ctrl - and added to the right click menu.
cotangent, secant and cosecant as well as their inverse are not added.
Or any other scheme. What the heck. Let me set my background as a frog, damn it!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.