Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Latest commit

 

History

History
28 lines (22 loc) · 739 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 739 Bytes

Interpreter

of my own language in Rust.

Described in about.md (polish, with examples) and in documentation.md (english, broader, but no examples)

Grammar in grammar.md

Tasks

  • Prepare repository and workflow
  • Formalize language
  • Implement lexer
  • Implement parser
  • Implement interpreter
  • Party nah, need to pass finals :')

How to use:

  1. Download distribution for your OS (Windows or Linux)
  2. Run the interpreter through command line

Usage example

Linux Bash

./interpreter -i < source.txt ./interpterer -f source.txt

Windows Powershell

Get-Content -Path source.txt | .\interpreter.exe -i .\interpreter.exe -f source.txt