Skip to content

zedth2/sunyat-assembler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sunyat-assembler

This is the original SunyAT assembler written in C. This version was originally written by William "Amos" Confer and further modified by me, Zachary Harvey. This version is built to work with the window registering version of the SunyAT and is being put here to be used for further testing with the SunyAT Rust version.

Files

* sunyat-asm.lex 
 		lexical/token analyzer... uses flex
* sunyat-asm.y 
 		grammar/semantic analyser... uses the Lemon parser
        generator whose source is included (lemon.c and lempar.c)
* token.h 
 		definition of the assembler token structure shared 
        between the lexer and parser

Building

You'll need make, GCC, and flex. Flex can be found at this link. Lemon is also a dependency but it's source file is carried in the repository.

Arch Linux Instructions (Not fully tested)

git clone https://github.com/zedth2/sunyat-assembler.git
pacman -S base-devel flex
cd sunyat-assembler
make
./bin/sunyat-asm examples/protoShell.asm

About

The SunyAT Assembler written in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published