Raymon Zutekouw
|
0e475a7460
|
Re-use memory with a free-list
|
3 years ago |
Raymon Zutekouw
|
c08a2fafa7
|
Test parse_constant
|
4 years ago |
Raymon Zutekouw
|
dd91bba51e
|
CI_GH: use actions-rs
|
4 years ago |
Raymon Zutekouw
|
248be40f7d
|
Add GitHub CI
|
4 years ago |
Raymon Zutekouw
|
13324d8dd4
|
Cleanup main.rs by fixing warnings
|
4 years ago |
Raymon Zutekouw
|
e1b02df0af
|
Complete crate info
|
4 years ago |
Raymon Zutekouw
|
b2067582e0
|
Create README.md with LICENCES
|
4 years ago |
Raymon Zutekouw
|
e9ed8b9df1
|
Cleanup errors
|
4 years ago |
Raymon Zutekouw
|
0cca5ebb67
|
Remove instruction prints
|
4 years ago |
Raymon Zutekouw
|
1dc545f072
|
Implement copy
|
4 years ago |
Raymon Zutekouw
|
45faa754bd
|
Implement addv and subv
|
4 years ago |
Raymon Zutekouw
|
556a557aee
|
Extract pointing to mem_address to new instruction
- pointa, point now uses this instruction
|
4 years ago |
Raymon Zutekouw
|
52acba8033
|
Parse constants unsigned
|
4 years ago |
Raymon Zutekouw
|
b0d6627cbd
|
Remove field value from MemCell
- plans for a directly interpreted mblf mode have been scrapped
- it's MBLF, not MBNF
|
4 years ago |
Raymon Zutekouw
|
206b993b7b
|
Remove addb and subb
- add and sub will be optimized based on the operand
|
4 years ago |
Raymon Zutekouw
|
6402f2b67d
|
Extract non-expanding instructions to `to_bf`
|
4 years ago |
Raymon Zutekouw
|
cdef5393de
|
Remove match on Rule::instruction
|
4 years ago |
Raymon Zutekouw
|
da6c7149f4
|
Implement #include
|
4 years ago |
Raymon Zutekouw
|
38c55102df
|
Implement loopBlock
|
4 years ago |
Raymon Zutekouw
|
3dc0b970fe
|
Implement print
|
4 years ago |
Raymon Zutekouw
|
b84e897e29
|
Implement getchr
|
4 years ago |
Raymon Zutekouw
|
623f68673e
|
Implement setz
|
4 years ago |
Raymon Zutekouw
|
b27baf921b
|
Implement basic add and sub
|
4 years ago |
Raymon Zutekouw
|
6abc8be2c6
|
Remove field is_allocated from MemCell
|
4 years ago |
Raymon Zutekouw
|
85cf8696db
|
Implement pointm
|
4 years ago |
Raymon Zutekouw
|
c2daea0085
|
Implement point
|
4 years ago |
Raymon Zutekouw
|
3c4307022d
|
Implement delvar
|
4 years ago |
Raymon Zutekouw
|
f0015441fd
|
Panic on duplicate variable creation
|
4 years ago |
Raymon Zutekouw
|
5f46fbd760
|
Implement var
|
4 years ago |
Raymon Zutekouw
|
359f144e9a
|
Fill-in struct fields
|
4 years ago |
Raymon Zutekouw
|
837b24e91d
|
Pass state to instruct
state will store:
- variable positions
|
4 years ago |
Raymon Zutekouw
|
d2bccced4e
|
Allow newlines between comments and statements
|
4 years ago |
Raymon Zutekouw
|
0535251cda
|
Cleanup grammar file
- Formatting
- Remove generic `operator` and `operand`
- used for testing
|
4 years ago |
Raymon Zutekouw
|
06e72b9117
|
Match macro #include
|
4 years ago |
Raymon Zutekouw
|
27a7a009c1
|
Explicitly allow spacing before loopBlockEnd
- Inherited prefixed `spacing*` only applied to loopBlockStart,
- as the rule from statement only allowed spacing before the entire loopBlock
|
4 years ago |
Raymon Zutekouw
|
6b0cb46bf6
|
Allow most common word separators for variables
- Also includes '?' suffix for bools
|
4 years ago |
Raymon Zutekouw
|
1e2eb0cc23
|
Correct example.mblf with no-arg print
|
4 years ago |
Raymon Zutekouw
|
226873e71c
|
Extend numeric operations to constant operations
- Besides decNums and hexNums, characters are also valid
|
4 years ago |
Raymon Zutekouw
|
764b2d17b9
|
Match all instructions without arguments
|
4 years ago |
Raymon Zutekouw
|
ea54bb404d
|
Match all instructions with number argument
|
4 years ago |
Raymon Zutekouw
|
db906d1f8a
|
Print other Rules to stdout
- Entire parsed file in readable form to stdout
|
4 years ago |
Raymon Zutekouw
|
08df04a208
|
Match all instructions with variable argument
|
4 years ago |
Raymon Zutekouw
|
833e82d5ec
|
Use built-in NEWLINE Rule
|
4 years ago |
Raymon Zutekouw
|
04b82f997d
|
Allow extra newlines between statements
|
4 years ago |
Raymon Zutekouw
|
4f8b28f22d
|
Allow comments on their own line
|
4 years ago |
Raymon Zutekouw
|
8d071dc6df
|
Allow indented statements
|
4 years ago |
Raymon Zutekouw
|
6a82314e54
|
Allow either spaces or tabs as spacing
|
4 years ago |
Raymon Zutekouw
|
751dfcd5aa
|
Extract newline grammar rule
|
4 years ago |
Raymon Zutekouw
|
bc366b7e1d
|
Enforce newlines around body of loopBlock
- The start and end of the loopBlock should be on their own line
|
4 years ago |
Raymon Zutekouw
|
a967f0649f
|
Ensure operand is optional: only 0 or 1
|
4 years ago |