Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nqasm: Handle immediate arguments | Bobby Bingham | 2017-01-15 | 2 | -6/+41 |
| | |||||
* | nqasm: Handle register and register indirect arguments | Bobby Bingham | 2017-01-15 | 5 | -53/+76 |
| | |||||
* | nqasm: Improve parsing at end of file | Bobby Bingham | 2017-01-15 | 2 | -4/+6 |
| | | | | | | | | | Bison's implicit $accept rule ends with the END token. The fact that input could also end with END (via the line non-terminal) resulted in a shift reduce conflict. We resolve the conflict by modifying the lexer so that if it encounters end of file partway through a line, it produces a final EOL token before EOF. | ||||
* | Add gitignore | Bobby Bingham | 2017-01-15 | 1 | -0/+7 |
| | |||||
* | nqasm: Initial stab at a lexer and parser | Bobby Bingham | 2017-01-15 | 5 | -0/+278 |
| | | | | | So far, this only understands instructions, but no operands or labels. It doesn't handle bad input gracefully. It's just enough to test the basics. | ||||
* | Add table of instructions and their encodings | Bobby Bingham | 2017-01-15 | 2 | -0/+104 |