Code Monkey home page Code Monkey logo

fyper's People

Contributors

hmlongco avatar mourke avatar andi357 avatar super-ultra avatar joehinkle11 avatar li-bot avatar rebekkaorth avatar ruslanvs avatar ultraon avatar bensline avatar johnrnyquist avatar mcfans avatar vitusortner avatar

Stargazers

 avatar

Watchers

 avatar

fyper's Issues

Unit tests

  • Basic test for if the object is injected or not
  • Test for when object is injected but not in the calling graph
  • Test for class with blank public variable name in initialiser
  • Test for class where an object in the call graph is only initialised in a class extension. Does it get correctly added to the call graph?
  • Test for subclasses
  • Test for acyclic graphs

Add verbose logging

Add a -v option to the command line arguments and print verbose logging when this option is enabled

Error if init isn't all on the one line

If the initialiser's arguments are spread out amongst many lines which is common in large initialisers, the logic falls apart for extracting the comment.

This is a low-priority issue as the comment method of injecting is not supposed to be long-term

Errors printing to IDE

Change the errors from throwing and stopping the program to outputting to the IDE with line numbers and messages

Add support for injecting Simple literal types

We can use Resolver's .register(name: overload. We will need to add an optional name parameter to the @Register property wrapper as well as support in the build plugin for searching the dependency graph for this.

We might also need to add an attribute macro to the Parameters of the initializer to manually specify the name of the literal if it is to be different to the parameter name

Build basic graph

  • Find all places where injected classes are initialised
  • Build a basic, unchecked linked-list graph

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.