Giter Club home page Giter Club logo

Comments (6)

phillbush avatar phillbush commented on May 29, 2024

Hi,

I'll license it under the MIT license.
Feel free to use it in your classes!

But note that this project is a final project for a course of Systems Software I had at the University.
It is a very informal and simple implementation of a java virtual machine, and is pretty much incomplete.

If the focus is on the makefiles, note that I use BSD makefiles, and not GNU makefiles, so you will find no pattern rule such as

%.o: %.c %.h

in my makefiles (because BSD make(1) does not support it).

Also note that I used some unconventional rules for performing tests: I took advantage of the inference rules used in BSD makefiles to create a dummy suffix for testing stuff. For example, the class.p: rule tries to create a .p file from a .class file, but it actually prints the disassemble of the java class using the class disassembler I created.

EDIT: while %-pattern rules are GNU-only, suffix rules are portable between both implementations (although GNU call them old-fashioned ).

from jvm.

tekknolagi avatar tekknolagi commented on May 29, 2024

Thank you for the prompt response and license! MIT is perfect.

Feel free to use it in your classes!

I look forward to shipping this as part of an assignment.

It is a very informal and simple implementation of a java virtual machine, and is pretty much incomplete.

That's totally fine; we mostly want to use it as an opaque small VM that we can have students compile & run some programs for. We'll also be having them write their own Makefiles, not use yours.

from jvm.

tekknolagi avatar tekknolagi commented on May 29, 2024

I have some patches to fix your VM. Would you be interested in those being submitted upstream? Right now I have a private fork since I wasn't sure where you would land on the license.

from jvm.

phillbush avatar phillbush commented on May 29, 2024

I have some patches to fix your VM. Would you be interested in those being submitted upstream? Right now I have a private fork since I wasn't sure where you would land on the license.

Yeah, I'm interested in the patches!
Thank you for dedicating some time in this small project of mine!

Particularly, I did not care that much about licenses and used to say that anything I did was in public domain.
But searching a lot about this topic I realized they are necessary, especially when others are going to use or distribute your stuff[1].
I'm gonna police myself to license my programs in a permissive license.

[1]: In another situation, a package maintainer for a distro wanted to package and distribute a program of mine that had no license.

from jvm.

tekknolagi avatar tekknolagi commented on May 29, 2024

Yeah, I think software licensing is a mess and am annoyed that you kind of need to be a lawyer to understand any of it. It shouldn't be this complicated.

from jvm.

tekknolagi avatar tekknolagi commented on May 29, 2024

Closing! Thanks.

from jvm.

Related Issues (2)

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.