<commit_before># ParfA
Relying on a basic I/O scheme and lexicon that can be understood by the average English speaker, ParfA's goal is to be the programming language that even your grandpa can pick up in a few minutes.

## Simplifying Java

Take a look at this area calculation program in Java:
````
package com.github;

import java.util.Scanner;

public class CalculateArea
{
    public static void main(String[] args)
    {
        Scanner scan = new Scanner(System.in);
        System.out.println("Length: ");
        double length = scan.nextDouble();
        System.out.println("Width: ");
        double width = scan.nextDouble();
        System.out.println("Area: " + length * width);
    }
}
````
Now take a look at this same program in ParfA.
````
start
{
    ask("Length: ")
    number length = answer
    ask("Width: ")
    number width = answer
    announce("Area: " + length * width)
}
````

## Syntax

### White Space
````
;
\t 
````

Semicolons, tabs, and, of course, blank spaces, are not recognized by the compiler. To distinguish between statements, press enter or return, depending on whether the computer is running Windows OS or Mac OS respectively

### Keywords
````
if(condition) {} //Executes the block of code if condition is true
wait(num) //Waits num seconds
waitUntil(condition) //Waits until the condition is true before moving on to the next statements
repeatUntil(condition) {} //Repeats the block of code until condition is true
loop(num) {} //Loops through block of code num times
forever {} //Loops through block of code until program stops running
announce(statement) //Prints statement to screen
ask(statement) //Prints statement to screen and requests user input
answer //Whatever the user typed in
````<commit_msg>Updated the Simplifying Java section<commit_after># ParfA
Relying on a basic I/O scheme and lexicon that can be understood by the average English speaker, ParfA's goal is to be the programming language that even your grandpa can pick up in a few minutes.

## Simplifying Java

Take a look at this area calculation program in Java:
````
package com.github;

import java.util.Scanner;

public class CalculateArea
{
    public static void main(String[] args)
    {
        Scanner scan = new Scanner(System.in);
        System.out.println("What is the length? ");
        double length = scan.nextDouble();
        System.out.println("What is the width? ");
        double width = scan.nextDouble();
        System.out.println(length * width);
    }
}
````
Now take a look at this same program in ParfA.
````
ask "What is the length?"
create number length store answer
ask "What is the width?"
create number width store answer
announce length * width
````

## Syntax

### White Space
````
;
\t 
````

Semicolons, tabs, and, of course, blank spaces, are not recognized by the compiler. To distinguish between statements, press enter or return, depending on whether the computer is running Windows OS or Mac OS respectively

### Keywords
````
if(condition) {} //Executes the block of code if condition is true
wait(num) //Waits num seconds
waitUntil(condition) //Waits until the condition is true before moving on to the next statements
repeatUntil(condition) {} //Repeats the block of code until condition is true
loop(num) {} //Loops through block of code num times
forever {} //Loops through block of code until program stops running
announce(statement) //Prints statement to screen
ask(statement) //Prints statement to screen and requests user input
answer //Whatever the user typed in
````
{'fraction_non_alphanumeric': 0.09486166007905138, 'fraction_numerical': 0.0, 'mean_word_length': 3.7813765182186234, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7068126', 'n_tokens_mistral': 961, 'n_tokens_neox': 937, 'n_words': 448}