- Basically, it converts
.MAT
format files into.json
format files. Following a set of rules. - Every line in the MAT file has a specific meaning. They work as an instruction.
- Lines, or instructions, get converted to a json object
{}
with specific properties.
- MAT
@ R,10,20,2
- JSON
{
"type": "algorithm",
"variable": "#2",
"algorithm": "random",
"min": "10",
"max": "20"
}
* npm install
* node index.js
-
Describe how the program works. You can go as deep as you want. Detail as much as you want. Be as much clear and concise as you can.
-
What does the first letter in each row of the
.MAT
file represents? -
What the letter 'T' in the
.MAT
file represents? -
What the letter 'V' in the
.MAT
file represents? -
In line 5 of the
TSUBQ.MAT
. What is #1 and #2? What do they mean? Detail as much as you can.