-
Notifications
You must be signed in to change notification settings - Fork 3
Home
#Lavendeux A small calculator for programmers. Allows you to perform calculations from within any text editor using one keyboard shortcut - CRTL-Space
One expression per line, leading whitespace is preserved
Copy the following block of text into your favourite text editor, highlight it and press CTRL-Space:
x = 8 + 3e+2
x = sqrt(16)
x**3 @hex
Or, alternatively, turn auto copy/paste off in the menu, and CTRL-Space will instead solve any expressions in your clipboard, and replace them with the answer
##Syntax and supported functions
- Languages supported:
- English
- French
- Silent errors
- If on, you will not be notified of expressions that cannot be evaluated
- Auto copy/paste
- If on, shift space replaces highlighted text
- If off, shift space replaces clipboard contents with solutions
- Angle units (degrees or radians. Degrees by default)
x = 5
y = sqrt(x)
x = x * y
##Commandline options
--help : Show this message
-h : Short form of --help
--config-path=<path> : Use <path> as the configuration file
-c=<path> : Short form of --config-path
--no-config : Do not use a configuration file
--angle-mode=<degrees/radians> : Start in a given mode for angles
-a=<degrees/radians> : Short form of --angle-mode
--silent-errors=<on/off> : Start with silen errors on or off
-s=<on/off> : Short form of --silent-errors
--language=<en/fr> : Start in a given language
-l=<en/fr> : Short form of --language