cucapra / gator

Geometry types
https://capra.cs.cornell.edu/research/gator/
26 stars 11 forks source link

Functions declared out of order #108

Closed Checkmate50 closed 3 years ago

Checkmate50 commented 4 years ago

Functions in coordinate schemes are currently written out of order. In other words, the following code will not run in the underlying language due to foo not being declared first:


int foo (int x) {
  return x;
}
...
scheme ... {
  int bar (int x) {
    return foo(x);
  }
}