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 |
Raymon Zutekouw
|
cbf6f026f6
|
Formatting
|
3 years ago |
Raymon Zutekouw
|
4f59df0cae
|
Parse till operators
|
3 years ago |
Raymon Zutekouw
|
59d5b1c384
|
Start with Pest Parser
|
3 years ago |
Raymon Zutekouw
|
3779290aa8
|
Add CLI
- takes input-file, copies to output-file
|
3 years ago |
Raymon Zutekouw
|
bf8919ed44
|
Init
|
3 years ago |