Matrices are a cute, nice, gentle, quite particular case of Lua tables. You only have numeric keys and values, the dimensions are homogeneous, ... everything is perfect in the most perfect world.
You forgot to mention that matrices are "perfect in the most perfect world" only concerning their shape. You forgot to mention that matrices may represent a difficult problem that needs to be solved. This is the most common case, and it is not a game nor an easy task for a "perfect world".
So you are pretending that I should consider this case only, and choose a file format that would be more convenient for matrices only And your main argument is still : "I want to be able to read it outside CPLua".
I'm not pretending anything, and I still think that my main argument is very strong. I can live with binary files, though. I have just proposed a more convenient alternative, don't blame me for that.
I already said it, I am convinced that most users will prefer an easy way to store their tables, rather than to spend time and effort to write loops, just because someone dreamed that text files would be better for matrices. Excuse-me, but this is completely nonsense!
Wow-wow, take it easy maaan! I never said that binary files aren't useful; they are, since they provide an easy way to store things. I said that text files are more convenient for storing matrices. I'm not the only one that says that, and I didn't "dreamed" it.
Again, I appreciate your interest for CPLua, but unfortunately, CPLua != LuaNumAn. And as you already noticed it, several people here are more interested by writing games that using math programs. I understand your needs, I can certainly admit that indeed text files would be nice for matrices; but I just want to satisfy as many users as possible, and unfortunately I think that you are representing a low minority.
Yes, I ask for things to be implemented in CPLua having LuaNumAn in mind. This is natural, don't you think? given that I'm not interested on CP games, what did you expected, to ask for something having games in mind?
LuaNumAn is only a library written in CPLua. It eventually becomes larger and larger, and I can say that it expands CP's mathematical capabilities. Nevertheless, it is still a library; I was never thinking that CPLua==LuaNumAn. Furthermore, don't think that I forgot that such a project would be impossible without your work on CPLua.
Your suggestions are certainly important too, but you should not forget that CPLua is designed for every kind of applications, not only for maths. I don't want to start a war here, but hey, you seem to forget really often that you can do many other things than maths with a powerful programming language.
I don't want to start a war too (and I don't have any reason to do that). However, I feel that I have to answer: No, I don't forget "really often" that you can do many other things than maths on CP. I have completely forgot about it, once and for all. Writing games in ClassPad? For god's sake, it has a black & white dim screen, no sound, and it is not fast enough for games, even using CPLua. It is more than obvious that this thing is not made for games. On the other hand, it is obvious that it is made for maths: just have a look at what is considered as the "Main Application"
.
Btw, I start to feel that I'm not representing a "low minority", at least not as "low" as I was thinking before. Several users have been interested on math problems, some of them have proposed very interesting things, or asked for really difficult numerical methods. It's getting better and better.