Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
/ interpreter Public archive

Interpreter for a custom programming language.

Notifications You must be signed in to change notification settings

MiniaczQ/interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

119 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Interpreter for a custom programming language.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages