ECalc
Posted on: October 8, 2010 at 12:00 AM
ECalc is a calculator plug-in for Eclipse that provides the ability to evaluate mathematical expressions. Note the low version number. At this stage the software should be considered a prototype, although it does work pretty well.

ECalc

     

ECalc is a calculator plug-in for Eclipse that provides the ability to evaluate mathematical expressions. Note the low version number. At this stage the software should be considered a prototype, although it does work pretty well.

To install, just put the jar from the zip-files in your plugin-directory and restart eclipse. To uninstall, remove the jar-file and the directory .metadata/.plugin/se.fnord.ecalc from your workspace directory/directories.

Features

  1. Command-history.
  2. Functions (sin, cos, tan, asin, acos, atan, min, max, hypot, sqrt, random, round, ceil, floor).
  3. Ability to switch between radians and degrees.
  4. The basic operators (+, -, *, /, % (modulus), ^ (power)).
  5. Bitwise operators (>>, <<, &, |).
  6. Input and output in binary, octal, decimal or hexadecimal.
  7. The constants pi and e.
  8. Variables.
  9. User-defineable functions (eg. 'def f(x) { x*2 }', 'def g(x,y) { x*sin(y) }').
  10. Probably some things that I forgot.

Todo

  1. Package ECalc as a feature.
  2. More built-in functions.
  3. Fix annoying parser-bug.
  4. Refactor code in general and clean the parser code in particular.
  5. Ability to list/manage variables and functions.
  6. Some kind of context-menu.
  7. Fix the TODOs in the source.
  8. Make this page interesting.
  9. Fix the bugs you tell me about. :)
  10. What else? Let me know!

Click on this link to get more detail: http://ecalc.fnord.se/

     

Related Tags for ECalc:


More Tutorials from this section

Ask Questions?    Discuss: ECalc  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.