Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

kdsuneraavinash/winzig-compiler

Repository files navigation

WinZig Compiler

Compiler that generates assembly code for the specified abstract machine for programs written in WinZig language. Developed for CS4542 - Compiler Design module. Final report is found here.

Abstract Machine Specification

See here for the specification for the assembly code of the abstract machine targeted by this compiler.

Generated assembly code for this assembly machine can be run using this script.

Instructions

From current directory,

# Extract
$ tar xvf 170081L.tar

# Build,
$ make

# Parse only and show AST Tree,
$ java winzigc -ast examples/wizig_01

# Comoile
$ java winzigc examples/wizig_01

About

Compiler that generates assembly code for the specified abstract machine for programs written in WinZig language

Topics

Resources

Readme

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors