boulder-on / jpassport Goto Github PK
View Code? Open in Web Editor NEWJPassport
License: Apache License 2.0
JPassport
License: Apache License 2.0
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.
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 ... ๐ค
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.