I plan to write a toy interpreter for a programming language as a hobby project hosted on GitHub. The official implementation of the language is licensed under GPLv3. I have read some of its code to study how the parser works. But of course I won't copy or use any single line of its official implementation. Nor will I put my hobby project in any commercial use.
My questions are:
- Can I use a different license for my own project?
- Do I need to reference the official implementation somewhere in my project?