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 |