Skip to content

Conversation

@rodrigomilisse
Copy link
Collaborator

Commit includes changes from readme/fix and ghost-boolean branch because of a rebasing mistake, These changes should be ignored.
Issues: #47 #48

Copy link
Collaborator

@CatarinaGamboa CatarinaGamboa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Give an explanation of why this change is necessary and add an example to the test suite that uses this feature - we want to check if it is working properly moving forward.
After merging #46 rebase so that the files here are only the relevant ones for this PR

// String allPath = "C://Regen/test-projects/src/Main.java";
// In eclipse only needed this:"../liquidjava-example/src/main/java/"
// In VSCode needs:
// "../liquidjava/liquidjava-umbrella/liquidjava-example/src/main/java/liquidjava/test/project";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add some indications of how to use the this if no args are provided

if (args.length == 0) {
        System.out.println("Usage: java MyProgram <arg1> <arg2> [optional_arg3]");
        System.out.println("  arg1: Description of first argument");
        System.out.println("  arg2: Description of second argument");
        System.out.println("  optional_arg3: Description of optional third argument");
        return;
}


public static ErrorEmitter launch(String file) {
System.out.println("Running LiquidJava on: " + file);
public static ErrorEmitter launch(String... files) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And lets also add javadoc to this one, explaining what these files are

@CatarinaGamboa
Copy link
Collaborator

@rodrigomilisse are you still planning on making changes before we merge?

@rcosta358
Copy link
Collaborator

This change gives users more flexibility to verify multiple programs at the same time.

@rcosta358 rcosta358 requested a review from alcides October 22, 2025 11:03
@rcosta358 rcosta358 merged commit 6018353 into main Oct 29, 2025
1 check passed
@rcosta358 rcosta358 deleted the multiple_args branch November 7, 2025 15:24
@rcosta358 rcosta358 mentioned this pull request Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants