d7b7752dc1
- Added syntax check unit-test - Added none emitter (for syntax validation check) - Added KLL 0.5c example expressions - Added Travis-CI test for syntax check - Cleaned up README
25 lines
380 B
Bash
Executable File
25 lines
380 B
Bash
Executable File
#!/bin/bash
|
|
# Basic sanity check for kll compiler
|
|
# Currently runs both versions of the compiler
|
|
# Jacob Alexander 2016
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
# Common functions
|
|
source ${SCRIPT_DIR}/common.bash
|
|
|
|
# Start in kll top-level directory
|
|
cd ${SCRIPT_DIR}/..
|
|
|
|
|
|
## Tests
|
|
|
|
cmd ./kll.py --version
|
|
cmd ./kll --version
|
|
|
|
## Tests complete
|
|
|
|
|
|
result
|
|
exit $?
|
|
|