Description:
Course newsgroup
|
|
|
a6p3 white space
|
| |
How do we represent the whitespace characters for the alphabet in the
dfa?
Specifically how can the newline character be represented?
|
|
a6p1 lexer error
|
| |
when i use printf in my code for a6p1
java cs421 wlppc does not recognize it
it says lexer error
help?
|
|
a6p1
|
| |
so in my gcd.wlpp file
i should have this:
int wain(int, int);
void println(int);
// === Insert WLPP Program Here ===
...int main(int argc, char** argv) {
.............................. .................... stuff here
}
void println(int x){
printf("%d\n",x);
...
------------------... more »
|
|
Question about the NULL token
|
| |
When adding the NULL token to "enum kind" in the scanner, it
recognizes it as the NULL character. What should we use for the NULL
token when outputting it's "kind".
|
|
A6P4 input question
|
| |
Hi guys,
Does anyone if for q6p4 is the input line by line or a long string?
if it is a long string then after the comment "//" does it include \n?
e.g (string form)
...
int wain (int a, int b){ int d=0; //this is a comment /n return d;}
or this form
int wain (int a, int b){ int d=0; //this is a comment return d;}... more »
|
|
Any release tests or blind tests for A6P3?
|
| |
The last sentence in A6 says that "For this problem only, all of the
Marmoset tests are public tests. There are no release tests or blind
tests. "
However, A6P3 does not have any release tests or blind tests either in
the Marmoset.
So, it this an error in A6 description OR a problem in the Marmoset?... more »
|
|
NFA --> DFA
|
| |
I found this really helpful when doing conversion from NFA to DFA:
[link]
Good Luck!
|
|
A5P2 and P3 divisibility clarification
|
| |
Hey all,
for A5P2 and A5P3, it says that we require binary integers that are not divisible by 3 (and 2 in P3). Is this referring to the actual binary integers itself or its length?
|
|
A5P8, A5P9 Diagrams
|
| |
In the diagrams for Problems 8 and 9, there appear to be symbols representing the empty string. How is the empty string supposed to be represented in the DFA text file?
|
|
A5P1 Release: M2 Test
|
| |
Any idea how to fix this one? I checked everything all the relocations
and ESRs but still cannot figure out where the error occurs... I got a
6/9 for the release.
Thanks in advance.
Shuo
|
|
|