Coder Social home page Coder Social logo

jpassport's Issues

Write completely self contained source

It would be nice if the source code that's written could be 100% self contained as an option. That would mean moving everything from Utils into the written code and all of the method lookups. I think that would leave the constructor requiring a path to any library.

Update JUnit 5 version

The README says:

JUnit 5.4.2 (later versions of JUnit do not play nice with modules yet)

What are the issues here?

IIRC, we introduced module descriptors around JUnit 5.5 ... ๐Ÿค”

Use Annotation Processor

Using annotation processors at compile time would simplify the whole process and you could also immediately see changes in the generated code in your ide.

For example:

@Passport(link="libforeign")
public interface Linked {
   int string_length(String s);
   double sumArrD(double[] arr, int count);
}

Styles could be added to modify how the generated class is named etc. See how styling is implemented in the Immutibles library as an example to how this could be achieved.

Structure testing crashes the VM

The TestUsingStructs JUnit test I just made will crash the VM. If I turn off code compiling and just use a class loader to load the last class I compiled then there is no crash. I'm attaching a VM crash log.

hs_err_pid11184.log

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.