Skip to content

t-88/epic.rs

Repository files navigation

Epic

Rust Compiler/Transpiler for the op scripting language.
I REGRET USING RUST

Requirements

run install.sh to install rust

Features

Op Language

  • fully working lexer, parser , compiler , transpiler
  • basic error handling using a symbol analyser
  • js, py transpiler
  • a very basic and limited ffi system using "$." to access pre defined native language

Build

  • generates wasm code for the js transpiler
  • generates a python file with game logic
  • builds the python game using pyinstaller

Quick Start

    $ ./run.sh # building a standalone python executable using pyinstaller can take a while     
  • your project will be in dist/game

Preview

$ ./run.sh expected after ./run.sh


working pong game