These are chat archives for CSE450-MSU/Raven

20th
Nov 2014
chelsea
@seadb
Nov 20 2014 02:23
I'm stuck on something so Im going to explain it and see if you guys can help at all
In the tube7.y I have this code so far for the functions:
declare_function: COMMAND_DEFINE TYPE ID '(' func_argument_list ')' code_block {
};
chelsea
@seadb
Nov 20 2014 02:39
  1. Can I just use "code_block" for the body of the function?
  2. Can I replace 'TYPE ID' with declare
Josh Curl
@joshwget
Nov 20 2014 20:45
I would definitely use code_block
Can you get the code to compile?
chelsea
@seadb
Nov 20 2014 22:12
Sorry I thought the last thing I commited compiled
okay do you think i can replace TYPE ID with variable_declare (used to be 'declare')
Josh Curl
@joshwget
Nov 20 2014 22:20
If you modify variable_declare to handle functions then yeah you could
chelsea
@seadb
Nov 20 2014 22:24
Okay.
Im having trouble with the function arguments
I don't know how to pass the table entries up to the function node
The code compiles now and I pushed it to master