Raymon Zutekouw
|
cecf68905a
|
CI_GH: use actions-rs
|
3 years ago |
Raymon Zutekouw
|
b53c7dd30d
|
Add GitHub CI
|
3 years ago |
Raymon Zutekouw
|
0b87b957af
|
Cleanup main.rs by fixing warnings
|
3 years ago |
Raymon Zutekouw
|
f21a46b374
|
Complete crate info
|
3 years ago |
Raymon Zutekouw
|
06b76b5d4e
|
Create README.md with LICENCES
|
3 years ago |
Raymon Zutekouw
|
b37e759485
|
Cleanup errors
|
3 years ago |
Raymon Zutekouw
|
303da9ff9e
|
Remove instruction prints
|
3 years ago |
Raymon Zutekouw
|
aff0ed0034
|
Implement copy
|
3 years ago |
Raymon Zutekouw
|
20869b55c1
|
Implement addv and subv
|
3 years ago |
Raymon Zutekouw
|
5476b6d8f2
|
Extract pointing to mem_address to new instruction
- pointa, point now uses this instruction
|
3 years ago |
Raymon Zutekouw
|
d26500251d
|
Parse constants unsigned
|
3 years ago |
Raymon Zutekouw
|
2d81fe1406
|
Remove field value from MemCell
- plans for a directly interpreted mblf mode have been scrapped
- it's MBLF, not MBNF
|
3 years ago |
Raymon Zutekouw
|
f2934ace5d
|
Remove addb and subb
- add and sub will be optimized based on the operand
|
3 years ago |
Raymon Zutekouw
|
82fcfea43a
|
Extract non-expanding instructions to `to_bf`
|
3 years ago |
Raymon Zutekouw
|
d04ecaeef5
|
Remove match on Rule::instruction
|
3 years ago |
Raymon Zutekouw
|
525d3a6c70
|
Implement #include
|
3 years ago |
Raymon Zutekouw
|
bbfb030ccf
|
Implement loopBlock
|
3 years ago |
Raymon Zutekouw
|
780523fb91
|
Implement print
|
3 years ago |
Raymon Zutekouw
|
5650f1056d
|
Implement getchr
|
3 years ago |
Raymon Zutekouw
|
0504985308
|
Implement setz
|
3 years ago |
Raymon Zutekouw
|
123c1cee64
|
Implement basic add and sub
|
3 years ago |
Raymon Zutekouw
|
0bdd6364a7
|
Remove field is_allocated from MemCell
|
3 years ago |
Raymon Zutekouw
|
b05b286d57
|
Implement pointm
|
3 years ago |
Raymon Zutekouw
|
9a54fe353d
|
Implement point
|
3 years ago |
Raymon Zutekouw
|
5aaa27632c
|
Implement delvar
|
3 years ago |
Raymon Zutekouw
|
1433cf64f5
|
Panic on duplicate variable creation
|
3 years ago |
Raymon Zutekouw
|
92d164dd78
|
Implement var
|
3 years ago |
Raymon Zutekouw
|
e1150e2280
|
Fill-in struct fields
|
3 years ago |
Raymon Zutekouw
|
e23239eb84
|
Pass state to instruct
state will store:
- variable positions
|
3 years ago |
Raymon Zutekouw
|
c8583af668
|
Allow newlines between comments and statements
|
3 years ago |
Raymon Zutekouw
|
877bb44c3e
|
Cleanup grammar file
- Formatting
- Remove generic `operator` and `operand`
- used for testing
|
3 years ago |
Raymon Zutekouw
|
1ed3cc8bba
|
Match macro #include
|
3 years ago |
Raymon Zutekouw
|
b6364cce79
|
Explicitly allow spacing before loopBlockEnd
- Inherited prefixed `spacing*` only applied to loopBlockStart,
- as the rule from statement only allowed spacing before the entire loopBlock
|
3 years ago |
Raymon Zutekouw
|
7e2bfe27e5
|
Allow most common word separators for variables
- Also includes '?' suffix for bools
|
3 years ago |
Raymon Zutekouw
|
6d571b83f3
|
Correct example.mblf with no-arg print
|
3 years ago |
Raymon Zutekouw
|
ae50ad64f4
|
Extend numeric operations to constant operations
- Besides decNums and hexNums, characters are also valid
|
3 years ago |
Raymon Zutekouw
|
eb61fa5cef
|
Match all instructions without arguments
|
3 years ago |
Raymon Zutekouw
|
3023872053
|
Match all instructions with number argument
|
3 years ago |
Raymon Zutekouw
|
c1adc81ab8
|
Print other Rules to stdout
- Entire parsed file in readable form to stdout
|
3 years ago |
Raymon Zutekouw
|
257942e5dc
|
Match all instructions with variable argument
|
3 years ago |
Raymon Zutekouw
|
b4d7130c8c
|
Use built-in NEWLINE Rule
|
3 years ago |
Raymon Zutekouw
|
535f362910
|
Allow extra newlines between statements
|
3 years ago |
Raymon Zutekouw
|
84ba80e38a
|
Allow comments on their own line
|
3 years ago |
Raymon Zutekouw
|
1880f459d5
|
Allow indented statements
|
3 years ago |
Raymon Zutekouw
|
c7a55c7a2a
|
Allow either spaces or tabs as spacing
|
3 years ago |
Raymon Zutekouw
|
53e63244a3
|
Extract newline grammar rule
|
3 years ago |
Raymon Zutekouw
|
e767322bf4
|
Enforce newlines around body of loopBlock
- The start and end of the loopBlock should be on their own line
|
3 years ago |
Raymon Zutekouw
|
ef96dbf0ec
|
Ensure operand is optional: only 0 or 1
|
3 years ago |
Raymon Zutekouw
|
0c87557d39
|
Allow nested loopBlocks
- loopBlocks now contain statements i.o. instructions
|
3 years ago |
Raymon Zutekouw
|
c949adeed9
|
Extract IO out of instruct
- Attach fail case only once on main
|
3 years ago |