0 Members and 3 Guests are viewing this topic.
But before evrything, it would be awesome to design a web site for sharing our work, roadmaps, ..., and find other people.& Coordinate work.
#include <advancedmathlibs.h>int main (void){ expr var1; // create a var of type expr named var1. var1 = "integrate(x^2+x+c,x,1,50)"; // set an expression in var1 std::cout << var1.evaluate() << sdt::endl; // send to std output the evaluation of the the expr}
It might be nice to have a basic like language though so non-programmers can put basic things into their calculators. I'm not sure I fully understand your reasoning for not using a prebuilt CAS. I'd think something like maxima or octave would work well, and if you want to be able to have it more integrated into C++ it shouldn't be too difficult to build classes on the function they already have. I think for this you should use C/++ as the asm like language of the 84 and have something(python, lua, basic) as a language for quick programs.
@Lancelot_du_lac do you want to make C++ a sort of script language ? If so, I recommend to use libgcc for on-the-fly compilation, so you'll have maximal speed.Also, I think that it should be cool to use Python as basic language, and allow the use of import, so the user'll can use external libs such as PyGame or PyGTK, if we success in porting them (if there really is a need to port something).
This sounds like a cool project!I could probably help some out with C++ and webdesign (i know php mysql javascript (html css))I also know some lua.And i think too that some BASIC dialect for it would be cool.
Just one thing: Will it have a headphone jack? I'd like to write a chiptunetracker/mod tracker for it Also: will it feature a nice left-handed d-pad? (oh wait it's supposed to be a calculator?)