8000 GitHub - caioraposo/portugol: Yet another portugol compiler
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

caioraposo/portugol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yet Another Portugol Compiler, Written in Rust.

This is an atempt to write a compiler for the Portugol language. It is actually a transpiler from Portugol to Python.

How to use it

Install Rust, clone this repo and build it with cargo.

cargo build --release

It expects an input file with the Portugol source code, and outputs the Python code to stdout.

cargo run --release -- <filename>

Based on the compiler from Writing a Compiler in Go.
Thank you, Shuhei Kagawa. see: https://shuheikagawa.com/blog/2019/10/06/interpreter-and-compiler-in-rust/

About

Yet another portugol compiler

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0