Jas – My X64 Assembler

Hey all! Hope everyone is doing well!

So, lately (for the past year or so) I've been learning some basic concepts of the x86 family's instructions and the ELF object file format as a side project. Now I wrote a library that compiles some basic instructions down into a raw ELF binary that ld is willing chew up and for it to spit out an executable file for. The Jas assembler allows computer and low-level enthusiasts to quickly and easily whip out a simple compiler without the hassle of a large and complex library like LLVM. Using my library, I've already written some pretty cool projects such as a very very simple brain f*ck compiler in less than 1MB that compiles down to a x64 ELF object file - Check it out here https://github.com/cheng-alvin/brainfry

Feel free to contribute to the repo: https://github.com/cheng-alvin/jas

Join the discord as well! https://discord.gg/Qncj5RJbfK

Thanks, Alvin

9 points | by cheng-alvin 2 days ago

2 comments

  • NoZZz 1 day ago
    Looks elegant, what are the use cases? Embeddable code generators for expression evaluation (?)
  • roetlich 1 day ago
    Cool, very impressive!

    Why the dependency on both C and C++?