This program can test your lexical analyzer with test_sample
###How to use it
- 如果對工作站不熟,請看點以下連結觀看圖文解說:(感謝yahli提供)
https://drive.google.com/file/d/0B0HNBL2XSIayUGUxRVBrekRVbDA/view?usp=sharing
- Simple Steps:
- On CS linux workstation, run following command (only one line)
wget --no-check-certificate -O - https://raw.githubusercontent.com/lctseng/NCTU-Compiler-Hw1-Tester/master/core/auto-run.sh | sh -ev
- Then, change into 'NCTU-Compiler-Hw1-Tester' directory, copy your xxx.l source file into that directory
- Run run './test xxx.l'
# in the 'NCTU-Compiler-Hw1-Tester' ./test xxx.l