Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 709 Bytes

File metadata and controls

32 lines (27 loc) · 709 Bytes

Prodio

Rust

What's this🤔

This is a new programming language written in Rust. "Prodio" means "advance" in Latin.
I'm not going to develop a practical language, but I plan to implement a lot of functionalities I've never implemented.

Usage💻

How to compile and run C source code:

./run.sh <CODE(*.pr)>

Then return code is prompted as a result of the program.

Contents⚙

  • arithmetical calculation
  • variable
  • if statement
  • define function
  • call function

Compile Path🛠

Tokenize(lexer.rs)
        ↓
Parse(parser.rs)
        ↓
IR Generation(gen_ir.rs)
        ↓
Code Generation(gen_code.rs)