Crate compiler_test_utils

Source

Functionsยง

  • Assert that val1 and val2 are the same.
  • Read input, compile and execute the result and return the Value this produces.
  • Read and compile input and fail if compiling does not result in an error.
  • Read, compile and execute input and fail if execution does not result in an error.
  • Same as exec() but dump the registers and disassembled bytecode after executing. Only use this when debugging a test, otherwise use exec().
  • Read text for a test. Will convert multiple forms into a vector of Values.