mirdaki / mirdaki/SimpleBC

Project 2 Plan

Open
#8 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

meta
Dominant language
Java
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

  • Revert to old testing method (diffing an input and output file) to not worry about rounding differences. Make sure tests are working in current setup
  • Add Java builder with ANTLR support (Maven)
  • Set up visitors to process old code
  • Create main file that executes current code
  • Add stacked scopes
  • Implement
    • if
    • for
    • while
    • functions and return
    • Implement break and continue
  • Add more tests
  • Bonus
    • Look back at prints
    • Implement other statments
    • Switch to JUnit for testing
    • Fix issue with blocks (';' not followed by a new line aren't recognized and that sometimes you don't want that (if (3) 2 else 1)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the remaining bonus items in the project plan, beginning with the prints rule in src/main/antlr4/mu/Mu.g4 and the current testing setup. Determine which unchecked item is still intended, then verify completion against the existing input/output tests; the plan also mentions JUnit and block parsing as possible work.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.