Skip to content

27factorial/BEPL

Repository files navigation

BEPL

The Basic English-like Programming Language. Created as a final project for Martin Hock's CS 143 class.

Eclipse Installation Instructions

Pre-Installation requirements

  • Make sure you have installed the ANTLR4 IDE from the Eclipse Marketplace
  • Install the Eclipse faceted workspaces plugin from Help -> Install New Software

Instructions

  1. 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.
  2. Download the project as a .zip
  3. Copy the BEPL-master folder to your Eclipse workspace.
  4. Delete the .md files in the folder.
  5. In Eclipse, Go to File -> Import -> Projects from Folder or Archive -> Browse
  6. Select the BEPL-master folder that is in your Eclipse workspace and click Finish.
  7. There will be errors in the project. To fix this, read the next section

Fixing errors

  1. Right click the project and select Properties.
  2. Click "Project Facets" and then "Convert to faceted form...", then Apply.
  3. On the right, select "Java Build Path", and then Libraries.
  4. In the Libraries tab, click "Add External JARs" and add the ANTLR jar that you downloaded earlier.
  5. Click Apply and Close, and open the BEPL.g4 file found in the root of the project.
  6. Once that file is done compiling, go back to Step 1, and click ANTLR 4, then check "Enable project specfic settings."
  7. Go to ANTLR 4 -> Tool, and once again check "Enable project specific settings."
  8. Click Add, and find the ANTLR jar file that you downloaded earlier.
  9. Add it, then click the checkbox next to it.
  10. When you click Apply and Close, Eclipse will tell you that a rebuild of the project is required. Click Yes.
  11. The g4 file will automatically recompile using the new ANTLR 4.7.2 library.
  12. You are done. Happy programming.

About

The Basic English-like Programming Language. Created as a final project for Martin Hock's CS 143 class.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors