aboutsummaryrefslogtreecommitdiff
path: root/asm/main.cpp
AgeCommit message (Collapse)Author
2024-04-15~extern "C"~ when including lib/inst.hAryadev Chavali
2024-04-15main.cpp now preprocesses tokens and prints the outputAryadev Chavali
2024-04-15Updated main.cpp for changes to lexerAryadev Chavali
2024-04-15Moved read_file to a general base libraryAryadev Chavali
2024-04-14enum -> enum class in lexerAryadev Chavali
This makes enum elements scoped which is actually quite useful as I prefer the namespacing that enum's give in C++.
2024-04-14asm/main now tokenises and prints the tokens of a given fileAryadev Chavali
With error checking!
2024-04-14Implemented a function to read a file in fullAryadev Chavali
Uses std::optional in case file doesn't exist.
2024-04-14asm/main now prints usageAryadev Chavali
2024-04-14Start writing assembler in C++Aryadev Chavali
Best language to use as it's already compatible with the headers I'm using and can pretty neatly enter the build system while also using the functions I've built for converting to and from bytecode!