Setup test cases for evaluation of instruction semantics
Open
- Dominant language
- Prolog
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
I'd like to be able to write something like:
```prolog
test(instr_li, [State.regs.x == 7]) :-
run((
li($x, #7)
), State).
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the existing run(...) entry point and the instruction semantics for li($x, #7). Investigate how the shown test(instr_li, [State.regs.x == 7]) form could be registered and evaluated. Done means equivalent instruction tests can be written and the register assertion is checked.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100