Compare input file to answer.txt(or another input file) and show differences
Project description
smwu-compiler
컴파일러 과목 programming assignment 자가 채점 도구
Quick Start Guide
- 패키지 설치
pip install smwu-compiler
- MacOS의 경우
pip3사용
answer.txt작성: 과제의 출력 예시 붙여넣기- CLI 명령어 사용해 비교
Description
두 텍스트 파일의 내용 일치 여부를 비교하는 CLI 도구입니다.
사용 예:
- `./parser test.c | pacheck` # 파이프 입력과 answer.txt 비교
- `pacheck output.txt ` # answer.txt와 output.txt 비교
- `pacheck file1.txt file2.txt` # 두 파일 직접 비교
출력 예시
- 일치하는 경우
정답 파일과 입력 파일이 정확히 일치합니다. - 차이가 있는 경우
2개의 줄에서 차이가 발생했습니다:
줄 3:
answer.txt: Hello, world!
입력 파일: Hello, Word!
줄 8:
answer.txt: This is a test.
입력 파일: This is test.
Upcoming Next
- parse tree 시각화
Author
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
smwu_compiler-0.1.1.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file smwu_compiler-0.1.1.tar.gz.
File metadata
- Download URL: smwu_compiler-0.1.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
014196288b24bcbe79a9108904b6d3d3bd69112d545ff2767ac9c0329bdbb620
|
|
| MD5 |
8bb5fbf00087997fa56ae2f9d75af7bd
|
|
| BLAKE2b-256 |
14134ed61bdcb8f892566272422e29dcc31b84b5836441d08237fa47efc18d1e
|
File details
Details for the file smwu_compiler-0.1.1-py3-none-any.whl.
File metadata
- Download URL: smwu_compiler-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d38ee25eae0722c0ca331a2900cbc44f8f5d3e7f100694d3e5cc41281034fff
|
|
| MD5 |
1a73959b4c72cbca50758d39d4a3ae17
|
|
| BLAKE2b-256 |
46665974f334ee73e47511fbe730167331e541422d15b846754b0a167a1bcfe7
|