Ratstail91 / Toy

The Toy Programming Language.
https://toylang.com/
zlib License
231 stars 11 forks source link

Add disassembler alternative format #110

Closed hiperiondev closed 1 year ago

hiperiondev commented 1 year ago

Add alternative format for linear presentation. This format is consistent with a conventional assembler.

Ratstail91 commented 1 year ago

@hiperiondev I can't merge this just yet - you need to include the license for cargs.h and cargs.c - you can do this by adding it as a comment header to the tops of those files, along with a link to the original source repo.

cargs has a LICENSE.md file in it's root directory.

(I don't want to step on other people's toes - now that Toy is getting attention, it'd be a good idea to watch any licenses we use).

Edit: I could probably do this myself but I'm feeling lazy tonight.

hiperiondev commented 1 year ago

You are absolutely right! I had forgotten. I have added the reference to the project in the header, there is no other information about the author

Ratstail91 commented 1 year ago

I would've copy/pasted the while license file to be sure, but that's good enough for now.

Ratstail91 commented 1 year ago

Interesting trick with the alternate display mode, it looks pretty cool. Though, the code is starting to look a bit messy lol.