Show newer

: I wrote a far simpler test framework which is not only easier to implement but honestly does not involve that much code to test things. I think it will be very useful.

: I actually implemented Math.min() and Math.max() wrong, they were comparing A against zero and then returning A if it was less/more than zero, otherwise B. I should probably work on making unit tests and a test framework now that I have something that runs code.

: I can notice when the VM code starts running because it prints much slower than the native VM (which gets JIT compiled by OpenJDK).

: I had setup suppressed debug traces and this is the first time I am seeing them, I know they are there because there is a caret at the end of the line. The more carets the more that was suppressed!

: Now the hello world property printing demo works again after taking quite the diversion to implement the needed Formatter stuff.

: The compiler is getting confused here, it is showing the file and line of a source file that is of the wrong class. So it thinks there is a syntax error inside of a JavaDoc comment, but it really is being confused as to which code is being parsed.

: I found an error in Oracle's JavaDoc, Formatter specifies that the alternate form is valid for general conversions (bool, hashcode, and string) but it actually is not valid at all, not even for hashcodes.

: There are 26 different formats date/time formats that java.util.Formatter.format() can output. I am probably going to ignore and not support them for now since I am not even sure I have anything which uses dates right now.

Show thread

: *slaps side of java.util.Formatter.format()* This bad girl has so many date/time conversions.

: The most complex code right now is definitely going to be this Formatter.format implementation because printf is so complex! Definitely will be writing it in a maintainable way!

: Going to implement java.util.Formatter, which means printf! yay! I love printf!

: So SquirrelJME can now run a basic hello world which prints system properties out, so that is quite nice indeed! I am so happy I finally reached this point in the program, so things are going quite swell!

: So the java.lang.ref is fully implemented! Yay! It only contains three classes but it is a complete package now!

: So how I am going to implement ReferenceQueue is simple, when things are collected I guess I could just have a passive queue that when the reference is next used, if null it will be stored into the queue. Not the fastest or best way to free items though, oh well.

: I added, because I needed to, a recursive call to my DEBUG and TODO messages being printed. Why? Because the message printing code might end up calling itself again, and that results in an infinite recursion. So I had to prevent against that by suppressing.

: So I set a date of December 10, 2018 for the first release of SquirrelJME, hoping I can meet such a date! I have confidence.

Show older

Xer Shadow Tail ☄️🌺's choices:

Awoo Space

Awoo.space is a Mastodon instance where members can rely on a team of moderators to help resolve conflict, and limits federation with other instances using a specific access list to minimize abuse.

While mature content is allowed here, we strongly believe in being able to choose to engage with content on your own terms, so please make sure to put mature and potentially sensitive content behind the CW feature with enough description that people know what it's about.

Before signing up, please read our community guidelines. While it's a very broad swath of topics it covers, please do your best! We believe that as long as you're putting forth genuine effort to limit harm you might cause – even if you haven't read the document – you'll be okay!