Commit Graph
15 Commits
Author SHA1 Message Date
raymon a25ad02b48 Use built-in NEWLINE Rule 2021-12-26 20:41:59 +01:00
raymon c2394eec38 Allow extra newlines between statements 2021-12-26 20:38:31 +01:00
raymon d7144383e7 Allow comments on their own line 2021-12-26 20:22:07 +01:00
raymon 2a7a4ca8b2 Allow indented statements 2021-12-26 20:22:07 +01:00
raymon 8b62a51a64 Allow either spaces or tabs as spacing 2021-12-26 19:47:40 +01:00
raymon f473c6b50d Extract newline grammar rule 2021-12-26 19:47:25 +01:00
raymon ff9fd2f311 Enforce newlines around body of loopBlock
- The start and end of the loopBlock should be on their own line
2021-12-26 19:42:53 +01:00
raymon 755e2f1b53 Ensure operand is optional: only 0 or 1 2021-12-26 19:31:06 +01:00
raymon 859f1df4b8 Allow nested loopBlocks
- loopBlocks now contain statements i.o. instructions
2021-12-26 19:23:37 +01:00
raymon 531d569d48 Extract IO out of instruct
- Attach fail case only once on main
2021-10-20 21:46:19 +02:00
raymon d80e6b9490 Formatting 2021-10-20 21:21:25 +02:00
raymon c57a9c2849 Parse till operators 2021-10-20 21:21:02 +02:00
raymon 3d60b6cb5d Start with Pest Parser 2021-10-19 12:19:08 +02:00
raymon 269bdf0389 Add CLI
- takes input-file, copies to output-file
2021-09-29 11:05:57 +02:00
raymon eae4045c28 Init 2021-09-29 11:03:59 +02:00