Skip to content

Beginner10617/B-compiler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

162 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

B-compiler

Compiler for the dead language B which produces MIPS, X86_64 or ARM64 Assembly

Build Process

For compiling the compiler just run make If you have already built the compiler once and want to run it, just do make run

Flags :

File name can be provided through file_name

Mode of running (debug/release) can be provided through mode

Ex Command: make file_name="examples/example001/hello.b" mode="nodebug"

The compiler will automatically call the respective assembly pipelines for you .

For running the generated Assembly:

If MIPS: You need Java installed

If X86_64: You just need gcc

If ARM64-MAC: Create a custom assemble.sh file to assemble

About

Compiler for the dead language B

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 69.2%
  • Limbo 30.0%
  • Other 0.8%