User Tools

Site Tools


cs330_f2016:lab16

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
cs330_f2016:lab16 [2018/04/04 22:26]
morse
cs330_f2016:lab16 [2018/04/04 22:27]
morse
Line 105: Line 105:
 ====Hints:​==== ====Hints:​====
  
-  * The "​calcf"​ function in the CI5 interpreter that read in a test file, ran it through lex / parse / calc has been replaced with a "​typef"​ function that similarly reads in a test file and runs it through lex / parse / type_of_expression. ​ You can use it to run your own test cases.+  * The "​calcf"​ function in the CI3 interpreter that read in a test file, ran it through lex / parse / calc has been replaced with a "​typef"​ function that similarly reads in a test file and runs it through lex / parse / type_of_expression. ​ You can use it to run your own test cases. ​ ​[Still under construction.]
   * Make sure you test not only for validly typed expressions but for each kind of type error.   * Make sure you test not only for validly typed expressions but for each kind of type error.
cs330_f2016/lab16.txt ยท Last modified: 2021/06/30 23:42 (external edit)