Inspiration
I love learning fundamentals, and machine code and assembly are almost as fundamental as you can get with programming. Combining that interest with the theme of "Lets dig in," I thought it would be interesting to develop a little feature/method to allow me to dig deeper into my code and analyze the assembly interpretation.
What it does
When you run the script, you are asked to choose a file to open. It then opens in a different terminal window where you can edit your code, and in the original terminal window you can enter the range of the lines that you want to analyze in assembly. It then compiles that section of code in a new file and prints the contents in the terminal.
How we built it
We built the project pretty much entirely using bash scripting.
Challenges we ran into
Initially, I considered programming a compiler so I would have more control over the outcome. However, there was not much time left when I started working on the idea and I pivoted to getting a proof of concept working using the gcc compiler.
Accomplishments that we're proud of
I'm proud of making a (maybe) functional proof of concept that kind of shows me what the final idea might look like.
What we learned
I learned more about how C compilers work and how they are built, I learned a lot about bash scripts, and I learned more about assembly.
What's next for Dig Into Your Code
I'd really love to get it to work as a feature/extension for text editors, like VS Code, sublime text, maybe even Arduino. I'd also love to get it to work for programming languages other than C.