Skip to main content

Compare input file to answer.txt(or another input file) and show differences

Project description

smwu-compiler

컴파일러 과목 programming assignment 자가 채점 도구

Quick Start Guide

  1. 패키지 설치 pip install smwu-compiler
  • MacOS의 경우 pip3 사용
  1. answer.txt 작성: 과제의 출력 예시 붙여넣기
  2. 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

Yoon SeoJin

Project details


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.0.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smwu_compiler-0.1.0-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file smwu_compiler-0.1.0.tar.gz.

File metadata

  • Download URL: smwu_compiler-0.1.0.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for smwu_compiler-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1bf6b6705e21415400b1eeeb9d91d45307aeeabbba1ec1d88776903e9554566a
MD5 41b93aab0904589f97cda81a625fbd5d
BLAKE2b-256 027b9d03775ce7766bb06714d68040e4badee119ad109a939fbd60486d80622f

See more details on using hashes here.

File details

Details for the file smwu_compiler-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: smwu_compiler-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for smwu_compiler-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5973710a119b8c19de81c77c20661e70c6b9c49cba7853001d81ab88ca8824e3
MD5 33e0d4fa1fa3a1d6a69acdb2ef12974c
BLAKE2b-256 44fa529066739be98b4651ac145367c6bdb5e01d94ff1cb57e0aa11dcd219166

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page