GithubHelp home page GithubHelp logo

dan-blank / javatomips_testcases Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 81 KB

Testcases for compiler construction classes based on "Modern Compiler Implementation in Java" by Andrew Appel and Jens Palsberg.

Java 100.00%

javatomips_testcases's People

Contributors

ernestum avatar sgnjp avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

javatomips_testcases's Issues

Syntax error in ok/db_expressions

At the line 21 of ok/db_expressions we have:
true = !false;

However, we have only production id = Exp, which means that true should be id, but I guess it should be not possible, because true is a keyword.

Expressions cannot be standalone

At the line 23 of ok/db_expressions we have:
new Object().apply(2,3,4,new OtherObject());

That is incorrect because it is Exp, and we expect Statement, we do not have production from one to another.

Structure change

Let's change the structure from
exercise<number>/<initials>/[ok|error]/<initials>_<test_case_name>.java
to
exercise<number>/[ok|error]/<initials>_<test_case_name>.java

I guess it would be easier to use it directly, and the test case owner is defined by the initials at the begging of test name

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.