Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Fun Code

Side projects that did not belong anywhere else: a compiler for a small dynamic language, and two low-level exercises in assembly.

Project Language What it is
alpha-compiler C++, flex, bison A compiler for the alpha language and the stack VM that runs its bytecode
riscv-array RISC-V assembly Reads eight integers, prints each multiplied by six
mips-linked-list MIPS assembly Builds a heap-allocated linked list and filters it by a threshold

Each directory has its own README with the details.

A note on the assembly

These two programs target different architectures, which the original file names did not make clear. riscv-array is RV32I and runs under RARS or Venus. mips-linked-list is MIPS32 and runs under MARS or SPIM — it uses $t/$s registers, syscall and .asciiz, none of which are RISC-V.

About

This is where I drop random interesting tidbits of code I do not generally focus on professionally.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages