Code Monkey home page Code Monkey logo

pivot's Introduction

Hi there ๐Ÿ‘‹

pivot's People

Contributors

dependabot[bot] avatar jigarswam avatar mannybarreto avatar nraymundo avatar wdibi avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

pivot's Issues

Return not found in function

// FAIL

firstFactorial(num x) -> num
    if x == 0 or x == 1 then
        return 1;
    else
        return x * firstFactorial(x - 1);
    end
end

// Pass

firstFactorial(num x) -> num
    if x == 0 or x == 1 then
        return 1;
    end
        return x * firstFactorial(x - 1);
end

Homework #4 Checklist

  • Project clones and runs without crashing
  • All tests pass
  • Your compiler has commandline operations that can run the parser, the analyzer, and the generator separately
  • Can analyze and generate code for Hello World
  • Can analyze and generate code for a medium size program
  • Can detect lots of errors correctly
  • Your language has some โ€œdifficultโ€ (or at least highly non-trivial) features to analyze
  • Code is nice, clean, and professional
  • Unit tests cover all interesting language features that should pass
  • Unit Tests for semantics - at least a dozen, preferably 30 or more, erroneous cases are covered
  • Code generator is complete for your language
  • Your language has a feature for which code generation was interesting and non-trivial
  • Code generator code is relatively efficient (no glaring problems)
  • Unit Tests for code generator - at least one
  • Unit Tests for code generator - at least several
  • Unit Tests for code generator - decent coverage
  • README page and companion website are complete, useful, and accurate
  • README page OR companion website has a link to the grammar (making it easy to lookup)
  • Project commit log shows that you've been working all semester

D3 AST graph enhancements

  • Implement directed edges
  • Add edge labels
  • Consider refactoring view(program) in pivot.js to return a Promise. Might not matter since nodemon is is running and will monitor changes.
  • To avoid git, can we pass the graph data around another way? Or is our best option to add ./graph/data.json to the .gitignore?

Homework 5 Checklist

  • Project Can be Cloned
  • All Tests Pass
  • Can be run on commandline without -o and produces unoptimized code
  • Can be run on commandline with -o and produces optimized code
  • Repo contains several example programs of different complexities, that can be compiled
  • I can run the linter from the commandline using npm run lint and there are NO errors
  • 100% Test Coverage
  • New Strength Reduction Optimizations
  • TWO Non-trivial optimization that was not in Tiger
  • You have documented your optimizations

Total Points: 87 (137 Points Total, 50 from Lightning Talk)

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.