Commit bd13ea16 authored by Markus Klinik's avatar Markus Klinik
Browse files

README

parent f25b2f58
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
Rascal implementation of a simple rule checker for student Java assignments. Rascal implementation of a simple rule checker for student Java assignments.
## How to run
## Running the rule checker
1. Download the latest rascal-shell-unstable.jar from the rascal website and 1. Download the latest rascal-shell-unstable.jar from the rascal website and
put it next to the run.sh script put it next to the run.sh script
...@@ -20,6 +22,8 @@ Rascal implementation of a simple rule checker for student Java assignments. ...@@ -20,6 +22,8 @@ Rascal implementation of a simple rule checker for student Java assignments.
error("Always explicitly specify access modifiers: public, protected, or private",|java+field:///a2/User/input|) error("Always explicitly specify access modifiers: public, protected, or private",|java+field:///a2/User/input|)
## Running the test cases ## Running the test cases
There are some test projects and test cases to check that the rules give There are some test projects and test cases to check that the rules give
...@@ -33,6 +37,16 @@ To run only specific files, specify them on the command line. ...@@ -33,6 +37,16 @@ To run only specific files, specify them on the command line.
$ ./test.sh Assignment02RulesSpec.rsc Assignment03RulesSpec.rsc $ ./test.sh Assignment02RulesSpec.rsc Assignment03RulesSpec.rsc
## Developing the rules
To develop rascal code, use eclipse-rcp. Follow the instructions here:
https://www.rascal-mpl.org/start/
## References ## References
- Rascal official website https://www.rascal-mpl.org/ - Rascal official website https://www.rascal-mpl.org/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment