These are chat archives for CSE450-MSU/Raven

7th
Dec 2014
chelsea
@seadb
Dec 07 2014 00:00
do you know how youre going to do declare?
I made two maps, one for defined functions and one for declared functions.
Josh Curl
@joshwget
Dec 07 2014 00:01
Nope. I'll do it tomorrow I think.
chelsea
@seadb
Dec 07 2014 00:01
ok
chelsea
@seadb
Dec 07 2014 00:28
how did you keep track of variables
i made a struct to keep track of the first and last line numbers and such.
and i think I'm going to make a map of variables
Josh Curl
@joshwget
Dec 07 2014 00:33
That's exactly what I did.
chelsea
@seadb
Dec 07 2014 00:33
haha
so the keys are basically args[i]->AsString()
Josh Curl
@joshwget
Dec 07 2014 00:33
Most of the work can be done in ICArray::PrintTC
Yup
chelsea
@seadb
Dec 07 2014 00:33
oh really
Josh Curl
@joshwget
Dec 07 2014 00:34
That's what i'm doing at least
chelsea
@seadb
Dec 07 2014 00:34
i made a function OptimizeIC
Josh Curl
@joshwget
Dec 07 2014 00:42
Probably a better way to do it, haha
chelsea
@seadb
Dec 07 2014 00:42
Maybe. Did you make the map part of ICArray
Josh Curl
@joshwget
Dec 07 2014 00:42
I just want this done so my code is really ugly
I just declare it locally in PrintTC
chelsea
@seadb
Dec 07 2014 00:42
yeah my code for the declare/define part is really confusing but whatever
oh yeah that makes way more sense
how do you deal with the arguments though
because they are private to ICEntry
Josh Curl
@joshwget
Dec 07 2014 00:43
I made it all public
Like a good programmer
Haha
chelsea
@seadb
Dec 07 2014 00:43
LOL
Josh Curl
@joshwget
Dec 07 2014 00:44
I felt Owen cringe when I did it
chelsea
@seadb
Dec 07 2014 00:44
yeah
i never really understood the whole point behind object oriented programming until i read this thing on stack overflow about it
but i still feel like its kind of pointless so idk
Josh Curl
@joshwget
Dec 07 2014 00:48
I see the point for massive codebases. But I think service oriented architecture is replacing it slowly.
Josh Curl
@joshwget
Dec 07 2014 17:37
I'll be in 3345 for the rest of the day
chelsea
@seadb
Dec 07 2014 18:16
okay I'll be there ASAP
Josh Curl
@joshwget
Dec 07 2014 22:09
Did you make a new AST type for declare?
Josh Curl
@joshwget
Dec 07 2014 22:31
Wait I can get a 0 on this project and still get a 4.0
I'm done, haha.
If you need help let me know though.
chelsea
@seadb
Dec 07 2014 23:59
yesss i do