hommyinc / ingterpreter

an unofficial fork of Friendship+Ing fanmade esolang, `Ingterpreter`

Home Page:https://m.cafe.daum.net/ingsfriend/pr5R/4516?svc=cafeapp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

잉터프리터 Ingterpreter

  • 갖고 놀 수 있는 프로그래밍 언어 toy programming language anyone can play with
  • 원 소스 개발자의 README를 읽어주세요 Please read the README written by the original author : README
  • 이 프로젝트는 원 소스 개발자의 알아서 하셔 LICENSE를 그대로 따릅니다 This work follows the All Author Hi Sure Public License with respect to the license of the original distributor : LICENSE

사용하기 How to use

방법 1) 구글 코랩에서 실행 Run on Google Colab

    1. 코랩 열기 Open in Colab : Open In Colab
    1. 언어 설정 파일 작성 Write your own Ingterpreter language configuration file screenshot02
    1. 스크립트 작성 Write your own Ingterpreter language script file screenshot03
    1. 스크립트 실행 Run your Ingterpreter script file screenshot04

방법 2) 컴퓨터에 다운받아 실행 Run on local environment

    1. 파이썬 3 설치 Get Python 3 on your local system.
    1. 이 소스 다운받기 Get this source code on your local system.
    • 2-1. 깃으로 다운 Get it with Git command git clone https://github.com/hommyinc/ingterpreter && cd ingterpreter/
    • 2-2. 직접 다운로드 Download it as ZIP archive screenshot01
    1. 쉘에 명령어 등록 Register your language configuration on your shell.
    • python runner.py install {언어이름 LANGNAME}
      • ex) python runner.py install ingchicken
      • ※ 언어 설정 JSON 파일이 configs/ 폴더에 들어가 있어야 함! Note that JSON language configuration file must be uploaded on configs/ folder!
    1. 브레인퍽 스크립트를 잉터프리터 언어로 변환 Convert Brainfuck script into your own Ingterpreter script.
    • {언어이름 LANGNAME} convert b2i {○○○.bf} {○○○.ext} or python runner.py convert {언어이름 LANGNAME} b2i {○○○.bf} {○○○.ext}
      • ex) ingchicken convert b2i helloworld.bf helloworld.ingc
      • ※ 반대로 잉터프리터 언어 스크립트를 브레인퍽 스크립트로도 변환 가능합니다. You can also convert Ingterpreter script into Brainfuck script.
    1. 잉터프리터 스크립트 실행 Run Ingterpreter script on your shell.
    • {언어이름 LANGNAME} run {○○○.ext} or python runner.py run {언어이름 LANGNAME} {○○○.ext}
      • ex) ingchicken run helloworld.ingc
      • {언어이름}을 쉘 명령어로 사용하기 위해서는 python runner.py install {언어이름}으로 설치 후 쉘을 껐다가 켜줘야 등록됩니다. {LANGNAME} can be used as shell command when you install via python runner.py install {LANGNAME}, exit your shell and re-open it.
    1. 쉘에 명령어 등록 해제 Remove your language command from your shell.
    • python runner.py uninstall {언어이름 LANGNAME}
      • ex) python runner.py uninstall ingchicken

감사를 전합니다 in honor of

About

an unofficial fork of Friendship+Ing fanmade esolang, `Ingterpreter`

https://m.cafe.daum.net/ingsfriend/pr5R/4516?svc=cafeapp

License:Other


Languages

Language:Python 75.3%Language:Jupyter Notebook 24.7%