Skip to content

MatthiasWagner/mj-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Come one, come all! Just create Pull Requests, we'll merge them.

Directory layout

  • Place *.mj files which are supposed to compile in pos/
  • Place *.mj files which are supposed to parse successfully, but not compile, in pos-parser/
  • Place *.mj files which are not supposed to compile in neg/
  • Place *.mj files which are intended to be compiled and executed, and print values to stdout (via System.out.println), in run/. Place a *.check file with the same name as the *.mj file to specify the expected output. Running javac <filename>.mj && java <Main class> | diff <filename>.check - has to complete without showing a difference.

List of tests/tools (please keep up to date):

  • lexfuzz.py: lexer fuzzer, prints string to be lexed to stdout, expected result (in --lextest format) to stderr.
  • parsefuzz.scala: parser fuzzer for positive syntactic test cases, run as scala parsefuzz.scala.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 43.3%
  • Python 35.1%
  • Scala 21.6%