These are chat archives for CSE450-MSU/Raven

8th
Nov 2014
chelsea
@seadb
Nov 08 2014 01:11
I pushed the first part to the "ec" branch
grotheju
@grotheju
Nov 08 2014 03:16
Hey guys sorry I've been non-existant on this project. After the exam I plan on working on the last project pretty extensively and hopefully that will make up for this one
Josh Curl
@joshwget
Nov 08 2014 22:07
Sorry I tried my best to finish yesterday but I couldn't do it. I'm almost done now though. Chelsea are you going to finish the extra credit?
Justin you should help her out.
chelsea
@seadb
Nov 08 2014 22:20
Yeah Ill take a look. I think i can finish
Josh Curl
@joshwget
Nov 08 2014 22:22
Awesome, thanks. I only have one test left.
Josh Curl
@joshwget
Nov 08 2014 22:37
The problem with the test not passing is actually a problem with the lex file recognizing strings
chelsea
@seadb
Nov 08 2014 22:38
okay let me look at it
Josh Curl
@joshwget
Nov 08 2014 22:38
Thanks. I think you wrote that part so it may be a little easier for you
chelsea
@seadb
Nov 08 2014 22:38
there are no tests for the extra credit so its kind of hard to tell if i did everything right
Josh Curl
@joshwget
Nov 08 2014 22:38
The problem is this line
if (pi_size > 100) print "\nCalculating ", pi_size, " digits of pi. It may take a few sec onds.\n";
It thinks "\nCalculating ", pi_size, " digits of pi. It may take a few sec onds.\n" is all one string
chelsea
@seadb
Nov 08 2014 22:39
is it good.999.tube?
Josh Curl
@joshwget
Nov 08 2014 22:39
Yeah
chelsea
@seadb
Nov 08 2014 22:40
it is all one string
print "\nCalculating ", pi_size, " digits of pi. It may take a few sec onds.\n";
double quotes are allowed inside of strings
and the re matches the longest possible expression
Josh Curl
@joshwget
Nov 08 2014 22:44
Double quotes are only allowed if there's a '\' before it right?
chelsea
@seadb
Nov 08 2014 23:35
hmm i dont think so
Josh Curl
@joshwget
Nov 08 2014 23:35
That's how it is in every programming language I can think of
chelsea
@seadb
Nov 08 2014 23:36
Okay maybe thats the problem then
i can fix that
Josh Curl
@joshwget
Nov 08 2014 23:36
Cool. I wrote the .y file part for unterminated strings so if you have any questions let me know.
chelsea
@seadb
Nov 08 2014 23:38
is it the block of code near the end?
oh wait .y part sorry
it didnt think we needed anything in .y but maybe the .lex file wasn't catching the error like it was supposed to
I*
Josh Curl
@joshwget
Nov 08 2014 23:50
Yeah I tested the .y part and it seems to be okay, so I think it's the .lex
chelsea
@seadb
Nov 08 2014 23:55
okay
the lex file catches unterminated strings now
not sure if that fixed it though
Josh Curl
@joshwget
Nov 08 2014 23:57
Does the test pass?
chelsea
@seadb
Nov 08 2014 23:57
hmm no now it says syntax error