As some may have noticed, I've been working on matrix manipulation functions in C++. I'd like to give this a matlab-like interface instead of a badly implemented numbered menu system.

By matlab like, I mean the user could do a command like this:

A=[5 2 4; 2 3 6; 3 4 1]

and hit enter, and the program would create a new matrix, A, with those numbers as input. then the user could type


and it would print out the inverse of A.

Also the user would be able to do this:


would automatically create a new matrix, B, and set rref(A) equal to it.

I think its clear what I'm talking about - a command parser or interpreter I guess?

Anyways, if someone could provide a link with a tutorial or other pertinent information I'd appreciate it!