-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not an issue/ Pastebin #11
Comments
I don't understand the purpose of the "name" element, sorry. A consideration that I'll have to take into account, too, is how to allocate memory for the list or matrix. It is a lot easier to code if the user tells where to write first, as opposed to looking for the I think the name field isn't useful information to include; it has nothing to do with the data structure. That said, it might be useful for Grammer to have it's own variable interface. I'm thinking adding a modifier to It would take a lot of work though, and I don't think I'm up for it. Just ideas. |
Well the original idea for the "NAME" element is for you to input where the data will be stored. So like an appvar or a temp program. |
Okay, I see. I still don't know that creating or locating the OS var should be this routine's responsibility since there will be many cases where you'll just want to write to a place like |
Oh true. So instead of doing so much work why don't we just stick with some basics. like when writing bytes to code you could use a modifier in the place of |
As an update, I've started up an experimental module to test ideas. Once it is working the way we want, I can add it into Grammer. So the idea that I'm going with is akin to a filesystem, so it'll actually be useful beyond this Matrix/List idea. You'll be able to store strings and arrays and matrices and lists and other kinds of data. Because of this, data will need to be named, so there will be a
To make a list:
To make a matrix:
To get a pointer to a var's data, give a name:
To get an element:
(Note, multiple indices are needed for multi-dimensional lists/arrays, like matrices)
|
New Matrix List Ideas
https://pastebin.com/KnZzUFfi
The text was updated successfully, but these errors were encountered: