-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added HDL (Hardware Description Language) support #1710
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for contributing!
But there are a few things we will have to change before we can merge this.
- Please choose a better name. There is no one HDL language.
- Please correct the indentation of your tests.
…gative tests, fixed whitespace
Thanks for your feedback, @RunDevelopment. I applied all changes as requested. PS. Say Hi to my hometown Leipzig 😃 |
Nice work. Wouldn't it be possible to use the C-like function here? I don't know if stuff like Also, is there a spec for this language? |
The semantics behind There is only an informal spec in the appendix of the course‘s accompanying book. |
Well, can't do anything about that.
So the function name has to relate to a file name (excluding builtins like |
You got me convinced! Yes, it is actually like a function 👍 |
Thank you for contributing! |
It seems to me that |
Indeed! I'll fix it. |
I added support for the declarative Hardware Description Language used in the Coursera Nand2Tetris (https://phoenix.goucher.edu/~kelliher/f2015/cs220/hdlSurvivalGuide.pdf).