The other thread got me thinking about this. Before I go and look at GNU Octave's source code, say I wanted to make a similar program that interprets strings from a prompt. I know how to parse a string like "a=5" and recognize that "a" is being assigned the value of "5", but how would I go about actually storing that? Can you do some sort of cast to a char array so that you can assign it as an actual variable? Otherwise, all I could think of is making a struct with a char array for the name and a double for the value.
Tldr, how would one get from "a=5" to int a = 5; ?