Skip to content

CLox v1.7.0

Choose a tag to compare

@HallofFamer HallofFamer released this 17 Nov 16:06

CLox version 1.7.0, it introduces the following new features on the last version 1.6.0:

  • Raise exception with throw keyword, and exception handling with try/catch/finally statement.
  • Improved CLox standard library with addition of class Exception and various exception subclasses.
  • Addition of nil handling operators: Optional chaining operator(?.), Nil coalescing operator(??), and Elvis operator(?:).
  • Inline caching for VM optimization, as well as implementation of Shape(Hidden Class) for better instance variable representation.