Adding objects, user defined function calling, and basic dynamic allocation#1
Open
JakeEhrlich wants to merge 3 commits into
Open
Adding objects, user defined function calling, and basic dynamic allocation#1JakeEhrlich wants to merge 3 commits into
JakeEhrlich wants to merge 3 commits into
Conversation
Owner
Author
|
Ok update:
|
Owner
Author
|
Bugs I see in the trace:
|
Owner
Author
|
The GuardNil bug was another mixup between type indexes for nil and bool |
Owner
Author
|
cool updates: I can debug the jit using lldb if I insert a 'brk' instruction and I can step through assembly after that. I'm not very curious if I can script this using python so I can make a debugger for traces. |
Owner
Author
|
Cleanup:
I've also drastically simplified the interpreter (I think?) and am going to try to keep making it simpler, more robust, and to fail faster. Also I'm going to go on a test adding rampage soon-ish for pure interpreter stuff |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a work in progress but I don't have anymore time this weekend to do anymore serious work on it.
I figured out that it would be ideal to drop the cffi dep which I didn't realize was not a standard library and has some strange limitations to it that I don't like. Python ctypes seems to be a lot more robust but more picky so going through the process de-cffi-ing this code and a using ctypes instead.