The Basic English-like Programming Language. Created as a final project for Martin Hock's CS 143 class.
- Make sure you have installed the ANTLR4 IDE from the Eclipse Marketplace
- Install the Eclipse faceted workspaces plugin from Help -> Install New Software
- Download the ANTLR jar file from https://www.antlr.org/download/antlr-4.7.2-complete.jar and save it to somewhere you will remember.
- Download the project as a .zip
- Copy the
BEPL-masterfolder to your Eclipse workspace. - Delete the
.mdfiles in the folder. - In Eclipse, Go to File -> Import -> Projects from Folder or Archive -> Browse
- Select the
BEPL-masterfolder that is in your Eclipse workspace and click Finish. - There will be errors in the project. To fix this, read the next section
- Right click the project and select Properties.
- Click "Project Facets" and then "Convert to faceted form...", then Apply.
- On the right, select "Java Build Path", and then Libraries.
- In the Libraries tab, click "Add External JARs" and add the ANTLR jar that you downloaded earlier.
- Click Apply and Close, and open the BEPL.g4 file found in the root of the project.
- Once that file is done compiling, go back to Step 1, and click ANTLR 4, then check "Enable project specfic settings."
- Go to ANTLR 4 -> Tool, and once again check "Enable project specific settings."
- Click Add, and find the ANTLR jar file that you downloaded earlier.
- Add it, then click the checkbox next to it.
- When you click Apply and Close, Eclipse will tell you that a rebuild of the project is required. Click Yes.
- The g4 file will automatically recompile using the new ANTLR 4.7.2 library.
- You are done. Happy programming.