A matrix language
by Alex Yu, Andrés Aguayo, Ani Bezjian, Dominique Gordon, and Mohamed Abedelmalik
- Navigate to root directory of project
- Compile using the command
make
- Run the command
./neoc [options] [.neo file]
- Compile Neo (see above)
- Run tests using the command
./testall.sh [options] [.neo files](see./testall.sh -hfor help); if no.neofiles are provided, the test script will automatically validate against all tests in thetestdirectory - Test suite will use the Neo compiler to compile to LLVM, which then links with external C code (see
libneoc.c) and produces an executable for each test program (specified either by the[.neo files]command line argument, or the files in thetestdirectory otherwise) - Tests with the
test-prefix are positive tests; these tests produce observable output which are compared against gold standard output (*.outfiles) - Tests with the
fail-prefix are negative tests; these tests produce error messages which are compared against expected error messages (*.errfiles) - An overall log of the test results will be produced in addition to console output in
testall.log