feat: Added readme and license information and renamed opcode_names file
This commit is contained in:
21
LICENSE.TXT
Normal file
21
LICENSE.TXT
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2020 Rick Rongen
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
13
README.MD
Normal file
13
README.MD
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# PJVM
|
||||||
|
PJVM (say PJ-VM as in peanut butter jelly) is a Python based Java Virtual Machine.
|
||||||
|
|
||||||
|
## Goal
|
||||||
|
The goal of this project is to give an insight into the big and scary Java Virtual Machine.
|
||||||
|
|
||||||
|
## Why?
|
||||||
|
For the glory of satan of course!
|
||||||
|
### No but really?
|
||||||
|
I got bored one day and wanted to figure out how the JVM worked. And what better way is there than to just implement it.
|
||||||
|
|
||||||
|
## License
|
||||||
|
This project is licensed under the MIT license, see the [LICENSE.TXT](LICENSE.TXT)
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
from .opcodes_names import INSTRUCTIONS
|
from .opcode_names import INSTRUCTIONS
|
||||||
|
|
||||||
|
|
||||||
class PJVMException(ValueError):
|
class PJVMException(ValueError):
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ from .exceptions import *
|
|||||||
from .mockimpl import mock_instance_methods, mock_static_objects
|
from .mockimpl import mock_instance_methods, mock_static_objects
|
||||||
from .old_jtypes import JArray, JObj, JString
|
from .old_jtypes import JArray, JObj, JString
|
||||||
from .opcodes import OPCODE_TYPE, Opcode
|
from .opcodes import OPCODE_TYPE, Opcode
|
||||||
from .opcodes_names import INSTRUCTIONS
|
from .opcode_names import INSTRUCTIONS
|
||||||
from .stackframe import Frame
|
from .stackframe import Frame
|
||||||
|
|
||||||
LOGGER = getLogger(__name__)
|
LOGGER = getLogger(__name__)
|
||||||
|
|||||||
Reference in New Issue
Block a user